summaryrefslogtreecommitdiff
path: root/features/steps/project/hooks.rb
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2017-04-06 23:30:19 +0000
committerClement Ho <clemmakesapps@gmail.com>2017-04-06 23:30:19 +0000
commit8a574030eadd1794294543639a5dd471741d8c6e (patch)
tree363b40823cc5e18334b2e21af9d810ed1fabed9b /features/steps/project/hooks.rb
parentd2aea4cde0574b1dfbfc3d8d85ab80195fc29e3f (diff)
parent745058c0529b4eb719c730d3067594b681cb0694 (diff)
downloadgitlab-ce-8a574030eadd1794294543639a5dd471741d8c6e.tar.gz
Merge branch 'button-capitalization' into 'master'
Button capitalisation Closes #18931 See merge request !10418
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 0a71833a8a1..945d58a6458 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 = 'http://example.org/1'
fill_in "hook_url", with: @url
- expect { click_button "Add Webhook" }.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 = 'http://example.org/2'
fill_in "hook_url", with: @url
check "hook_enable_ssl_verification"
- expect { click_button "Add Webhook" }.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