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:
authorPhil Hughes <me@iamphill.com>2016-04-26 16:14:34 +0300
committerPhil Hughes <me@iamphill.com>2016-04-26 16:14:34 +0300
commitb651303ea63874e7cc9428c09770bee138cc68ec (patch)
treeb044619695d34a1d76e9f985d823925adc890c00 /features
parent4c772d9bc849e21349d6b01701db9beccf903c44 (diff)
Updated tests
Diffstat (limited to 'features')
-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 4994df589a7..b1ffe7f7b4c 100644
--- a/features/steps/project/hooks.rb
+++ b/features/steps/project/hooks.rb
@@ -48,12 +48,12 @@ class Spinach::Features::ProjectHooks < Spinach::FeatureSteps
step 'I click test hook button' do
stub_request(:post, @hook.url).to_return(status: 200)
- click_link 'Test Hook'
+ click_link 'Test'
end
step 'I click test hook button with invalid URL' do
stub_request(:post, @hook.url).to_raise(SocketError)
- click_link 'Test Hook'
+ click_link 'Test'
end
step 'hook should be triggered' do