Skip to content

Commit

Permalink
Corrected a mock
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Yurek committed Sep 30, 2011
1 parent a068108 commit 7f523e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/geometry_test.rb
Expand Up @@ -132,7 +132,7 @@ class GeometryTest < Test::Unit::TestCase

should "not generate from a file with no path" do
file = mock("file", :path => "")
file.stubs(:respond_to?).with("path").returns(true)
file.stubs(:respond_to?).with(:path).returns(true)
assert_raise(Paperclip::NotIdentifiedByImageMagickError){ @geo = Paperclip::Geometry.from_file(file) }
end

Expand Down

0 comments on commit 7f523e3

Please sign in to comment.