BigW Consortium Gitlab

Commit 874166d8 by Kamil Trzcinski

Fix models/ci/web_hook_spec.rb

parent 8d5c9935
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment