forgot to commit the test

This commit is contained in:
Régis Hanol 2013-06-24 22:56:03 +02:00
parent 3d2ef18bb7
commit 52b8e6014b
1 changed files with 4 additions and 0 deletions

View File

@ -190,6 +190,10 @@ describe CookedPostProcessor do
cpp.is_valid_image_uri?("/tmp/image.png").should == false cpp.is_valid_image_uri?("/tmp/image.png").should == false
end end
it "doesn't throw exception with a bad URI" do
cpp.is_valid_image_uri?("http://do<main.com").should == nil
end
end end
end end