summaryrefslogtreecommitdiff
path: root/features/steps/shared/active_tab.rb
diff options
context:
space:
mode:
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