Commit 0a3d50eb32faef18a3bb8bc7626303cdcc50ac3b
1 parent
eb272227
Exists in
spb-stable
and in
3 other branches
Fixed tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
2 changed files
with
5 additions
and
3 deletions
Show diff stats
app/views/projects/_settings_nav.html.haml
features/steps/project/project_active_tab.rb
| ... | ... | @@ -57,7 +57,9 @@ class ProjectActiveTab < Spinach::FeatureSteps |
| 57 | 57 | end |
| 58 | 58 | |
| 59 | 59 | Given 'I click the "Edit" tab' do |
| 60 | - click_link('Edit') | |
| 60 | + within '.project-settings-nav' do | |
| 61 | + click_link('Project') | |
| 62 | + end | |
| 61 | 63 | end |
| 62 | 64 | |
| 63 | 65 | Given 'I click the "Hooks" tab' do |
| ... | ... | @@ -73,7 +75,7 @@ class ProjectActiveTab < Spinach::FeatureSteps |
| 73 | 75 | end |
| 74 | 76 | |
| 75 | 77 | Then 'the active sub nav should be Edit' do |
| 76 | - ensure_active_sub_nav('Edit Project') | |
| 78 | + ensure_active_sub_nav('Project') | |
| 77 | 79 | end |
| 78 | 80 | |
| 79 | 81 | Then 'the active sub nav should be Hooks' do | ... | ... |