]> projects.mako.cc - selectricity/blobdiff - vendor/plugins/attachment_fu/test/geometry_test.rb
Added some minor TODO's for increased user funcitonality. Change email, beautify...
[selectricity] / vendor / plugins / attachment_fu / test / geometry_test.rb
index ade4f489cf44fa6a0f4162a7de893b9af149959b..aebb41564eb3ae2049172a2ea3c642ff00809860 100644 (file)
@@ -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],

Benjamin Mako Hill || Want to submit a patch?