Восстанавливаем прохождение тестов в geometry_test

This commit is contained in:
Nastia Gorokhova-Alekseeva
2021-12-29 18:17:47 +03:00
parent 1b195d73d7
commit 612edde7c9

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'test_helper'
class GeometryTest < Test::Unit::TestCase
@@ -77,7 +79,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