Merge pull request #2105 from jouve/improve_admin_views

Improve admin section
This commit is contained in:
Dmitriy Zaporozhets 2012-11-29 00:39:50 -08:00
commit cf8b3692cd
10 changed files with 38 additions and 33 deletions

View file

@ -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

View file

@ -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