X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/9129a21b28c88064edfcfc8a8fa23a640f29819c..99e1580f0d7707b8e2f8c08f8aae70c3d4906637:/vendor/plugins/attachment_fu/test/geometry_test.rb diff --git a/vendor/plugins/attachment_fu/test/geometry_test.rb b/vendor/plugins/attachment_fu/test/geometry_test.rb index ade4f48..aebb415 100644 --- a/vendor/plugins/attachment_fu/test/geometry_test.rb +++ b/vendor/plugins/attachment_fu/test/geometry_test.rb @@ -23,6 +23,13 @@ class GeometryTest < Test::Unit::TestCase "100" => [100, 128] end + def test_should_resize_no_height_with_x + assert_geometry 50, 64, + "50x" => [50, 64], + "60x" => [60, 77], + "100x" => [100, 128] + end + def test_should_resize_with_percent assert_geometry 50, 64, "50x50%" => [25, 32],