test/test.rb in sdsykes-fastimage-1.1.1 vs test/test.rb in sdsykes-fastimage-1.1.2

- old
+ new

@@ -33,15 +33,17 @@ class FasImageTest < Test::Unit::TestCase def test_should_report_type_correctly GoodFixtures.each do |fn, info| assert_equal info[0], FastImage.type(TestUrl + fn) + assert_equal info[0], FastImage.type(TestUrl + fn, :raise_on_failure=>true) end end def test_should_report_size_correctly GoodFixtures.each do |fn, info| assert_equal info[1], FastImage.size(TestUrl + fn) + assert_equal info[1], FastImage.size(TestUrl + fn, :raise_on_failure=>true) end end def test_should_return_nil_on_fetch_failure assert_nil FastImage.size(TestUrl + "does_not_exist")