Commit d3559e2556e70947787d841bc6ee98110059f2b3
1 parent
84652388
Exists in
master
and in
4 other branches
fix tabs features
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
features/steps/shared/active_tab.rb
... | ... | @@ -3,9 +3,9 @@ module SharedActiveTab |
3 | 3 | |
4 | 4 | def ensure_active_main_tab(content) |
5 | 5 | if content == "Home" |
6 | - page.find('ul.main_menu li.active').should have_css('i.icon-home') | |
6 | + page.find('.main-nav li.active').should have_css('i.icon-home') | |
7 | 7 | else |
8 | - page.find('ul.main_menu li.active').should have_content(content) | |
8 | + page.find('.main-nav li.active').should have_content(content) | |
9 | 9 | end |
10 | 10 | end |
11 | 11 | |
... | ... | @@ -14,7 +14,7 @@ module SharedActiveTab |
14 | 14 | end |
15 | 15 | |
16 | 16 | And 'no other main tabs should be active' do |
17 | - page.should have_selector('ul.main_menu li.active', count: 1) | |
17 | + page.should have_selector('.main-nav li.active', count: 1) | |
18 | 18 | end |
19 | 19 | |
20 | 20 | And 'no other sub tabs should be active' do | ... | ... |