e0a9ffcdaa
* layout: add 'Groups' item to main_menu * admin/dashboard: add a ui-box for groups * projects and groups: remove nav tabs
34 lines
772 B
Ruby
34 lines
772 B
Ruby
class AdminActiveTab < Spinach::FeatureSteps
|
|
include SharedAuthentication
|
|
include SharedPaths
|
|
include SharedActiveTab
|
|
|
|
Then 'the active main tab should be Home' do
|
|
ensure_active_main_tab('Stats')
|
|
end
|
|
|
|
Then 'the active main tab should be Projects' do
|
|
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
|
|
|
|
Then 'the active main tab should be Logs' do
|
|
ensure_active_main_tab('Logs')
|
|
end
|
|
|
|
Then 'the active main tab should be Hooks' do
|
|
ensure_active_main_tab('Hooks')
|
|
end
|
|
|
|
Then 'the active main tab should be Resque' do
|
|
ensure_active_main_tab('Resque')
|
|
end
|
|
end
|