summaryrefslogtreecommitdiff
path: root/features/steps/project/hooks.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-26 12:58:20 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-26 12:58:20 +0300
commitfd338d67159e6dffaf54fd42fbeddb3b17e4d49f (patch)
treef334c299b131bcb32c2f73ab632ea5306e590b5c /features/steps/project/hooks.rb
parentfedacf52f8703c49b0bf96e971841edc2cc30655 (diff)
parentde5e0e590fa4e75cb9d66398b902a8348a2c42dc (diff)
downloadgitlab-ce-fd338d67159e6dffaf54fd42fbeddb3b17e4d49f.tar.gz
Merge branch 'master' of github.com:gitlabhq/gitlabhq
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 79a51020568..f4b8d372be8 100644
--- a/features/steps/project/hooks.rb
+++ b/features/steps/project/hooks.rb
@@ -29,7 +29,7 @@ class Spinach::Features::ProjectHooks < Spinach::FeatureSteps
end
step 'I should see newly created hook' do
- page.current_path.should == project_hooks_path(current_project)
+ current_path.should == project_hooks_path(current_project)
page.should have_content(@url)
end
@@ -44,7 +44,7 @@ class Spinach::Features::ProjectHooks < Spinach::FeatureSteps
end
step 'hook should be triggered' do
- page.current_path.should == project_hooks_path(current_project)
+ current_path.should == project_hooks_path(current_project)
page.should have_selector '.flash-notice',
text: 'Hook successfully executed.'
end