Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Checking the result of Geometry#transformation_to instead of to_s'ing…
Browse files Browse the repository at this point in the history
… the result
  • Loading branch information
qrush committed Jun 30, 2009
1 parent 076cd00 commit 4f68461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/geometry_test.rb
Expand Up @@ -77,7 +77,7 @@ class GeometryTest < Test::Unit::TestCase
should "make sure the modifier gets passed during transformation_to" do
assert @src = Paperclip::Geometry.parse("123x456")
assert @dst = Paperclip::Geometry.parse("123x456>")
assert_equal "123x456>", @src.transformation_to(@dst).to_s
assert_equal ["123x456>", nil], @src.transformation_to(@dst)
end

should "generate correct ImageMagick formatting string for W-formatted string" do
Expand Down

0 comments on commit 4f68461

Please sign in to comment.