diff options
author | ashleys <ashley@gitlab.com> | 2016-03-10 14:48:29 -0500 |
---|---|---|
committer | ashleys <ashley@gitlab.com> | 2016-03-10 14:48:29 -0500 |
commit | 4cd9a5208cd5148c95d1de33c419b9d579985fb9 (patch) | |
tree | f0fd7690291ba6de3777a37772c91060223d0a32 /spec/models/hooks | |
parent | b886d833d3835bc0204fd3ed8f9a00fdf3c27ed1 (diff) | |
download | gitlab-ce-4cd9a5208cd5148c95d1de33c419b9d579985fb9.tar.gz |
web hooks to webhooks
Diffstat (limited to 'spec/models/hooks')
-rw-r--r-- | spec/models/hooks/service_hook_spec.rb | 2 | ||||
-rw-r--r-- | spec/models/hooks/web_hook_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/hooks/service_hook_spec.rb b/spec/models/hooks/service_hook_spec.rb index 1455661485b..f800f415bd2 100644 --- a/spec/models/hooks/service_hook_spec.rb +++ b/spec/models/hooks/service_hook_spec.rb @@ -31,7 +31,7 @@ describe ServiceHook, models: true do WebMock.stub_request(:post, @service_hook.url) end - it "POSTs to the web hook URL" do + it "POSTs to the webhook URL" do @service_hook.execute(@data) expect(WebMock).to have_requested(:post, @service_hook.url).with( headers: { 'Content-Type'=>'application/json', 'X-Gitlab-Event'=>'Service Hook' } diff --git a/spec/models/hooks/web_hook_spec.rb b/spec/models/hooks/web_hook_spec.rb index 6ea99952a8f..04bc2dcfb16 100644 --- a/spec/models/hooks/web_hook_spec.rb +++ b/spec/models/hooks/web_hook_spec.rb @@ -52,7 +52,7 @@ describe WebHook, models: true do WebMock.stub_request(:post, @project_hook.url) end - it "POSTs to the web hook URL" do + it "POSTs to the webhook URL" do @project_hook.execute(@data, 'push_hooks') expect(WebMock).to have_requested(:post, @project_hook.url).with( headers: { 'Content-Type'=>'application/json', 'X-Gitlab-Event'=>'Push Hook' } |