mirror of
https://github.com/kemko/paperclip.git
synced 2026-01-01 16:05:40 +03:00
Восстанавливаем прохождение тестов в geometry_test
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user