summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorCyril <jv.cyril@gmail.com>2012-11-28 17:08:25 +0100
committerCyril <jv.cyril@gmail.com>2012-11-28 18:04:28 +0100
commite0a9ffcdaa0bef73caee5a502cabe1b4d8767f1b (patch)
treeca190de9617b58041115079a91db674174bd8b78 /features
parent3d242a3154644bb1fea1b70d2661cee4f3db342c (diff)
downloadgitlab-ce-e0a9ffcdaa0bef73caee5a502cabe1b4d8767f1b.tar.gz
Improve admin views for project and groups
* layout: add 'Groups' item to main_menu * admin/dashboard: add a ui-box for groups * projects and groups: remove nav tabs
Diffstat (limited to 'features')
-rw-r--r--features/admin/active_tab.feature5
-rw-r--r--features/steps/admin/admin_active_tab.rb4
2 files changed, 9 insertions, 0 deletions
diff --git a/features/admin/active_tab.feature b/features/admin/active_tab.feature
index fce85ce9901..226d3d5d5b5 100644
--- a/features/admin/active_tab.feature
+++ b/features/admin/active_tab.feature
@@ -12,6 +12,11 @@ Feature: Admin active tab
Then the active main tab should be Projects
And no other main tabs should be active
+ Scenario: On Admin Groups
+ Given I visit admin groups page
+ Then the active main tab should be Groups
+ And no other main tabs should be active
+
Scenario: On Admin Users
Given I visit admin users page
Then the active main tab should be Users
diff --git a/features/steps/admin/admin_active_tab.rb b/features/steps/admin/admin_active_tab.rb
index 29290892823..05a9a686e01 100644
--- a/features/steps/admin/admin_active_tab.rb
+++ b/features/steps/admin/admin_active_tab.rb
@@ -11,6 +11,10 @@ class AdminActiveTab < Spinach::FeatureSteps
ensure_active_main_tab('Projects')
end
+ Then 'the active main tab should be Groups' do
+ ensure_active_main_tab('Groups')
+ end
+
Then 'the active main tab should be Users' do
ensure_active_main_tab('Users')
end