2014-09-22 10:30:25 -04:00
|
|
|
class Spinach::Features::AdminActiveTab < Spinach::FeatureSteps
|
2012-09-25 20:11:57 -04:00
|
|
|
include SharedAuthentication
|
|
|
|
include SharedPaths
|
|
|
|
include SharedActiveTab
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'the active main tab should be Home' do
|
2014-06-26 05:05:06 -04:00
|
|
|
ensure_active_main_tab('Overview')
|
2012-09-25 20:11:57 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'the active main tab should be Projects' do
|
2012-09-25 20:11:57 -04:00
|
|
|
ensure_active_main_tab('Projects')
|
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'the active main tab should be Groups' do
|
2012-11-28 11:08:25 -05:00
|
|
|
ensure_active_main_tab('Groups')
|
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'the active main tab should be Users' do
|
2012-09-25 20:11:57 -04:00
|
|
|
ensure_active_main_tab('Users')
|
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'the active main tab should be Logs' do
|
2012-09-25 20:11:57 -04:00
|
|
|
ensure_active_main_tab('Logs')
|
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'the active main tab should be Hooks' do
|
2012-09-25 20:11:57 -04:00
|
|
|
ensure_active_main_tab('Hooks')
|
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step '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
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'the active main tab should be Messages' do
|
2013-11-12 07:32:17 -05:00
|
|
|
ensure_active_main_tab('Messages')
|
|
|
|
end
|
2012-09-25 20:11:57 -04:00
|
|
|
end
|