summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-02 11:23:06 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-02 11:23:06 +0300
commitd3559e2556e70947787d841bc6ee98110059f2b3 (patch)
tree907b3db5b3dadd616a76d256267976fc8049aaaf /features
parent8465238899ef2e7569df2c2a1780a4e331ed612c (diff)
downloadgitlab-ce-d3559e2556e70947787d841bc6ee98110059f2b3.tar.gz
fix tabs features
Diffstat (limited to 'features')
-rw-r--r--features/steps/shared/active_tab.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/shared/active_tab.rb b/features/steps/shared/active_tab.rb
index 446e3b9a8b3..617a077b914 100644
--- a/features/steps/shared/active_tab.rb
+++ b/features/steps/shared/active_tab.rb
@@ -3,9 +3,9 @@ module SharedActiveTab
def ensure_active_main_tab(content)
if content == "Home"
- page.find('ul.main_menu li.active').should have_css('i.icon-home')
+ page.find('.main-nav li.active').should have_css('i.icon-home')
else
- page.find('ul.main_menu li.active').should have_content(content)
+ page.find('.main-nav li.active').should have_content(content)
end
end
@@ -14,7 +14,7 @@ module SharedActiveTab
end
And 'no other main tabs should be active' do
- page.should have_selector('ul.main_menu li.active', count: 1)
+ page.should have_selector('.main-nav li.active', count: 1)
end
And 'no other sub tabs should be active' do