Commit 31b7af8b
Changed files (1)
spec
services
infrastructure
spec/services/infrastructure/image_spec.rb
@@ -54,7 +54,7 @@ describe Image do
end
it "raises an errorwhen the file is not in the whitelist" do
- expect(-> { Image.new('blah.exe') }).to raise_error
+ expect(-> { Image.new('blah.exe') }).to raise_error(/not in the whitelist/)
end
context "resizing" do