Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-09-15 23:01:31 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2015-09-15 23:01:31 +0300
commit874166d80f5dc946fc7b7715a16c9d39b6af77d3 (patch)
treeab179c6c15c5e5a8589dab1ee560b69e5a9daa7b
parent8d5c9935ffb8fa41f831742ac287fd010a006b42 (diff)
Fix models/ci/web_hook_spec.rb
-rw-r--r--spec/models/ci/web_hook_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/web_hook_spec.rb b/spec/models/ci/web_hook_spec.rb
index 66170d111a9..c4c0b007c11 100644
--- a/spec/models/ci/web_hook_spec.rb
+++ b/spec/models/ci/web_hook_spec.rb
@@ -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