summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-07 12:45:06 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-07 12:45:06 +0200
commit183562bc357adc719b2d11c114b07bebd5ca6f20 (patch)
tree0cffed463da1e75768a1ba0bb85e94418bae5673 /features
parent11f815ac1e0904ea606a44e19842af2ebc48b7d7 (diff)
downloadgitlab-ce-183562bc357adc719b2d11c114b07bebd5ca6f20.tar.gz
Fix tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features')
-rw-r--r--features/steps/shared/active_tab.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/shared/active_tab.rb b/features/steps/shared/active_tab.rb
index 92e099315d8..eb2ccd9d01e 100644
--- a/features/steps/shared/active_tab.rb
+++ b/features/steps/shared/active_tab.rb
@@ -6,7 +6,7 @@ module SharedActiveTab
end
def ensure_active_sub_tab(content)
- expect(find('div.content ul.nav-tabs li.active')).to have_content(content)
+ expect(find('div.content ul.center-top-menu li.active')).to have_content(content)
end
def ensure_active_sub_nav(content)
@@ -18,7 +18,7 @@ module SharedActiveTab
end
step 'no other sub tabs should be active' do
- expect(page).to have_selector('div.content ul.nav-tabs li.active', count: 1)
+ expect(page).to have_selector('div.content ul.center-top-menu li.active', count: 1)
end
step 'no other sub navs should be active' do