summaryrefslogtreecommitdiff
path: root/features/steps/profile
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-04-19 21:11:33 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-04-19 21:11:33 +0200
commit52268d1d9a7c64886dcc99a1a82c02af1ccbe7a1 (patch)
tree28589ac8a61d9101033439660bc5fe50e785a9ac /features/steps/profile
parent324e57693b21339273a9b9cafd9d27348fcd0488 (diff)
downloadgitlab-ce-52268d1d9a7c64886dcc99a1a82c02af1ccbe7a1.tar.gz
Fix tests and remove counters
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/steps/profile')
-rw-r--r--features/steps/profile/active_tab.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/features/steps/profile/active_tab.rb b/features/steps/profile/active_tab.rb
index 4724a326277..3b59089a093 100644
--- a/features/steps/profile/active_tab.rb
+++ b/features/steps/profile/active_tab.rb
@@ -22,4 +22,8 @@ class Spinach::Features::ProfileActiveTab < Spinach::FeatureSteps
step 'the active main tab should be Audit Log' do
ensure_active_main_tab('Audit Log')
end
+
+ def ensure_active_main_tab(content)
+ expect(find('.layout-nav li.active')).to have_content(content)
+ end
end