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/explore | |
parent | 69bbc413fec7aa4168d9ff12df5421674db90032 (diff) |
Change `within` to `page.within` in feature steps
Diffstat (limited to 'features/steps/explore')
-rw-r--r-- | features/steps/explore/projects.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/explore/projects.rb b/features/steps/explore/projects.rb index c722e2ec41b..17c16c3fb1c 100644 --- a/features/steps/explore/projects.rb +++ b/features/steps/explore/projects.rb @@ -35,13 +35,13 @@ class Spinach::Features::ExploreProjects < Spinach::FeatureSteps end step 'I should see project "Community" home page' do - within '.navbar-gitlab .title' do + page.within '.navbar-gitlab .title' do expect(page).to have_content 'Community' end end step 'I should see project "Internal" home page' do - within '.navbar-gitlab .title' do + page.within '.navbar-gitlab .title' do expect(page).to have_content 'Internal' end end |