forgot to commit the test
This commit is contained in:
parent
3d2ef18bb7
commit
52b8e6014b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue