mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 19:53:53 -06:00
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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user