summaryrefslogtreecommitdiff
path: root/features/steps/project/hooks.rb
diff options
context:
space:
mode:
authorashleys <ashley@gitlab.com>2016-03-10 14:48:29 -0500
committerashleys <ashley@gitlab.com>2016-03-10 14:48:29 -0500
commit4cd9a5208cd5148c95d1de33c419b9d579985fb9 (patch)
treef0fd7690291ba6de3777a37772c91060223d0a32 /features/steps/project/hooks.rb
parentb886d833d3835bc0204fd3ed8f9a00fdf3c27ed1 (diff)
downloadgitlab-ce-4cd9a5208cd5148c95d1de33c419b9d579985fb9.tar.gz
web hooks to webhooks
Diffstat (limited to 'features/steps/project/hooks.rb')
-rw-r--r--features/steps/project/hooks.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/project/hooks.rb b/features/steps/project/hooks.rb
index be4db770948..4994df589a7 100644
--- a/features/steps/project/hooks.rb
+++ b/features/steps/project/hooks.rb
@@ -25,14 +25,14 @@ class Spinach::Features::ProjectHooks < Spinach::FeatureSteps
step 'I submit new hook' do
@url = FFaker::Internet.uri("http")
fill_in "hook_url", with: @url
- expect { click_button "Add Web Hook" }.to change(ProjectHook, :count).by(1)
+ expect { click_button "Add Webhook" }.to change(ProjectHook, :count).by(1)
end
step 'I submit new hook with SSL verification enabled' do
@url = FFaker::Internet.uri("http")
fill_in "hook_url", with: @url
check "hook_enable_ssl_verification"
- expect { click_button "Add Web Hook" }.to change(ProjectHook, :count).by(1)
+ expect { click_button "Add Webhook" }.to change(ProjectHook, :count).by(1)
end
step 'I should see newly created hook' do