diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-24 10:28:41 +0400 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-26 11:51:17 +0400 |
commit | 89f7345f3ffdc212e60d4d657d878d1e5d6d6f9a (patch) | |
tree | 50929c127d5b45237cfbe9dd1dd26a406a7e7ed5 /features/steps/project/hooks.rb | |
parent | 1302dc8f0420dacec65ef1dcc955763c6c263cec (diff) |
Remove unnecessary page. from tests.
Diffstat (limited to 'features/steps/project/hooks.rb')
-rw-r--r-- | features/steps/project/hooks.rb | 4 |
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 |