diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-12 08:36:00 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-12 12:12:42 +0300 |
commit | 584f8601eff79fe6e400026ba6db086002ce2cba (patch) | |
tree | ca092524666d4b7353d766512800b8992359ac2a /features/steps/search.rb | |
parent | 69bbc413fec7aa4168d9ff12df5421674db90032 (diff) |
Change `within` to `page.within` in feature steps
Diffstat (limited to 'features/steps/search.rb')
-rw-r--r-- | features/steps/search.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/features/steps/search.rb b/features/steps/search.rb index 3703a7565d5..fec5d9f0e4e 100644 --- a/features/steps/search.rb +++ b/features/steps/search.rb @@ -24,25 +24,25 @@ class Spinach::Features::Search < Spinach::FeatureSteps end step 'I click "Issues" link' do - within '.search-filter' do + page.within '.search-filter' do click_link 'Issues' end end step 'I click project "Shop" link' do - within '.project-filter' do + page.within '.project-filter' do click_link project.name_with_namespace end end step 'I click "Merge requests" link' do - within '.search-filter' do + page.within '.search-filter' do click_link 'Merge requests' end end step 'I click "Wiki" link' do - within '.search-filter' do + page.within '.search-filter' do click_link 'Wiki' end end |