test/geometry_test.rb in area17-paperclip-2.2.9.2.1 vs test/geometry_test.rb in area17-paperclip-2.2.9.2.2
- old
+ new
@@ -75,10 +75,10 @@
end
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
assert @geo = Paperclip::Geometry.parse("800")
assert_equal "800", @geo.to_s