summaryrefslogtreecommitdiff
path: root/features/steps/shared/active_tab.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-21 01:11:08 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-21 01:11:08 +0200
commitbcc04adb1342155d4ec2b670702406285145cb32 (patch)
tree341b19554b068f55329070f465232a5079204f8a /features/steps/shared/active_tab.rb
parentabd83baeab474764030f1daa7c7ca3335ca91d98 (diff)
downloadgitlab-ce-bcc04adb1342155d4ec2b670702406285145cb32.tar.gz
Css/views cleanup after layout restyle
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/steps/shared/active_tab.rb')
-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 f41b59a6f2b..d7c7053edbd 100644
--- a/features/steps/shared/active_tab.rb
+++ b/features/steps/shared/active_tab.rb
@@ -2,7 +2,7 @@ module SharedActiveTab
include Spinach::DSL
def ensure_active_main_tab(content)
- find('.main-nav li.active').should have_content(content)
+ find('.sidebar-wrapper li.active').should have_content(content)
end
def ensure_active_sub_tab(content)
@@ -14,7 +14,7 @@ module SharedActiveTab
end
step 'no other main tabs should be active' do
- page.should have_selector('.main-nav li.active', count: 1)
+ page.should have_selector('.sidebar-wrapper li.active', count: 1)
end
step 'no other sub tabs should be active' do