Skip to content

Commit

Permalink
The 5k.png is 434x66 not 434x73
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Yurek committed Nov 16, 2012
1 parent dda3166 commit 9444387
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/geometry_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,14 @@ class GeometryTest < Test::Unit::TestCase
file = fixture_file("5k.png")
file = File.new(file, 'rb')
assert_nothing_raised{ @geo = Paperclip::Geometry.from_file(file) }
assert_equal 73, @geo.height
assert_equal 66, @geo.height
assert_equal 434, @geo.width
end

should "be generated from a file path" do
file = fixture_file("5k.png")
assert_nothing_raised{ @geo = Paperclip::Geometry.from_file(file) }
assert_equal 73, @geo.height
assert_equal 66, @geo.height
assert_equal 434, @geo.width
end

Expand Down

0 comments on commit 9444387

Please sign in to comment.