2012-09-25 20:11:57 -04:00
|
|
|
class AdminActiveTab < Spinach::FeatureSteps
|
|
|
|
include SharedAuthentication
|
|
|
|
include SharedPaths
|
|
|
|
include SharedActiveTab
|
|
|
|
|
|
|
|
Then 'the active main tab should be Home' do
|
2013-01-31 05:08:56 -05:00
|
|
|
ensure_active_main_tab('Home')
|
2012-09-25 20:11:57 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
Then 'the active main tab should be Projects' do
|
|
|
|
ensure_active_main_tab('Projects')
|
|
|
|
end
|
|
|
|
|
2012-11-28 11:08:25 -05:00
|
|
|
Then 'the active main tab should be Groups' do
|
|
|
|
ensure_active_main_tab('Groups')
|
|
|
|
end
|
|
|
|
|
2012-09-25 20:11:57 -04:00
|
|
|
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
|
2013-01-09 01:14:05 -05:00
|
|
|
ensure_active_main_tab('Background Jobs')
|
2012-09-25 20:11:57 -04:00
|
|
|
end
|
2013-11-12 07:32:17 -05:00
|
|
|
|
|
|
|
Then 'the active main tab should be Messages' do
|
|
|
|
ensure_active_main_tab('Messages')
|
|
|
|
end
|
2012-09-25 20:11:57 -04:00
|
|
|
end
|