summaryrefslogtreecommitdiff
path: root/features/steps/shared/project_tab.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-12 01:36:00 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-06-12 05:12:42 -0400
commit584f8601eff79fe6e400026ba6db086002ce2cba (patch)
treeca092524666d4b7353d766512800b8992359ac2a /features/steps/shared/project_tab.rb
parent69bbc413fec7aa4168d9ff12df5421674db90032 (diff)
downloadgitlab-ce-584f8601eff79fe6e400026ba6db086002ce2cba.tar.gz
Change `within` to `page.within` in feature steps
Diffstat (limited to 'features/steps/shared/project_tab.rb')
-rw-r--r--features/steps/shared/project_tab.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/shared/project_tab.rb b/features/steps/shared/project_tab.rb
index ce8cbe80aa8..3b94b7d8621 100644
--- a/features/steps/shared/project_tab.rb
+++ b/features/steps/shared/project_tab.rb
@@ -45,7 +45,7 @@ module SharedProjectTab
end
step 'the active main tab should be Settings' do
- within '.nav-sidebar' do
+ page.within '.nav-sidebar' do
expect(page).to have_content('Back to project')
end
end