2015-04-26 12:48:37 +05:30
|
|
|
class Spinach::Features::AdminActiveTab < Spinach::FeatureSteps
|
2014-09-02 18:07:02 +05:30
|
|
|
include SharedAuthentication
|
|
|
|
include SharedPaths
|
|
|
|
include SharedActiveTab
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
step 'the active main tab should be Home' do
|
2014-09-02 18:07:02 +05:30
|
|
|
ensure_active_main_tab('Overview')
|
|
|
|
end
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
step 'the active main tab should be Projects' do
|
2014-09-02 18:07:02 +05:30
|
|
|
ensure_active_main_tab('Projects')
|
|
|
|
end
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
step 'the active main tab should be Groups' do
|
2014-09-02 18:07:02 +05:30
|
|
|
ensure_active_main_tab('Groups')
|
|
|
|
end
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
step 'the active main tab should be Users' do
|
2014-09-02 18:07:02 +05:30
|
|
|
ensure_active_main_tab('Users')
|
|
|
|
end
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
step 'the active main tab should be Logs' do
|
2014-09-02 18:07:02 +05:30
|
|
|
ensure_active_main_tab('Logs')
|
|
|
|
end
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
step 'the active main tab should be Hooks' do
|
2014-09-02 18:07:02 +05:30
|
|
|
ensure_active_main_tab('Hooks')
|
|
|
|
end
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
step 'the active main tab should be Resque' do
|
2014-09-02 18:07:02 +05:30
|
|
|
ensure_active_main_tab('Background Jobs')
|
|
|
|
end
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
step 'the active main tab should be Messages' do
|
2014-09-02 18:07:02 +05:30
|
|
|
ensure_active_main_tab('Messages')
|
|
|
|
end
|
|
|
|
end
|