diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-12 01:36:00 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-12 05:12:42 -0400 |
commit | 584f8601eff79fe6e400026ba6db086002ce2cba (patch) | |
tree | ca092524666d4b7353d766512800b8992359ac2a /features/steps/snippets/user.rb | |
parent | 69bbc413fec7aa4168d9ff12df5421674db90032 (diff) | |
download | gitlab-ce-584f8601eff79fe6e400026ba6db086002ce2cba.tar.gz |
Change `within` to `page.within` in feature steps
Diffstat (limited to 'features/steps/snippets/user.rb')
-rw-r--r-- | features/steps/snippets/user.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/snippets/user.rb b/features/steps/snippets/user.rb index e6c6ec27e76..007fcb2893f 100644 --- a/features/steps/snippets/user.rb +++ b/features/steps/snippets/user.rb @@ -32,19 +32,19 @@ class Spinach::Features::SnippetsUser < Spinach::FeatureSteps end step 'I click "Internal" filter' do - within('.nav-tabs') do + page.within('.nav-tabs') do click_link "Internal" end end step 'I click "Private" filter' do - within('.nav-tabs') do + page.within('.nav-tabs') do click_link "Private" end end step 'I click "Public" filter' do - within('.nav-tabs') do + page.within('.nav-tabs') do click_link "Public" end end |