Commit 6a817eb4 by Rocco Galluzzo Committed by Jon Yurek

Remove useless MockModel class

parent ed2f1929
...@@ -43,7 +43,7 @@ describe Paperclip::UrlGenerator do ...@@ -43,7 +43,7 @@ describe Paperclip::UrlGenerator do
end end
it "executes the method named by the symbol as the default URL when no file is assigned" do it "executes the method named by the symbol as the default URL when no file is assigned" do
mock_model = MockModel.new mock_model = FakeModel.new
mock_attachment = MockAttachment.new(model: mock_model) mock_attachment = MockAttachment.new(model: mock_model)
mock_interpolator = MockInterpolator.new mock_interpolator = MockInterpolator.new
default_url = :to_s default_url = :to_s
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment