Skip to content
Snippets Groups Projects
Commit 874166d8 authored by Kamil Trzcińśki's avatar Kamil Trzcińśki
Browse files

Fix models/ci/web_hook_spec.rb

parent 8d5c9935
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -54,7 +54,7 @@ describe Ci::WebHook do
end
 
it "catches exceptions" do
expect(WebHook).to receive(:post).and_raise("Some HTTP Post error")
expect(Ci::WebHook).to receive(:post).and_raise("Some HTTP Post error")
 
expect{ @web_hook.execute(@data) }.to raise_error
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment