diff options
Diffstat (limited to 'features')
| -rw-r--r-- | features/steps/project/project_active_tab.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/features/steps/project/project_active_tab.rb b/features/steps/project/project_active_tab.rb index e04a17168be..dcc252f4765 100644 --- a/features/steps/project/project_active_tab.rb +++ b/features/steps/project/project_active_tab.rb @@ -57,7 +57,9 @@ class ProjectActiveTab < Spinach::FeatureSteps end Given 'I click the "Edit" tab' do - click_link('Edit') + within '.project-settings-nav' do + click_link('Project') + end end Given 'I click the "Hooks" tab' do @@ -73,7 +75,7 @@ class ProjectActiveTab < Spinach::FeatureSteps end Then 'the active sub nav should be Edit' do - ensure_active_sub_nav('Edit Project') + ensure_active_sub_nav('Project') end Then 'the active sub nav should be Hooks' do |
