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
|
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
step 'the active main tab should be Overview' do
|
2014-09-02 18:07:02 +05:30
|
|
|
ensure_active_main_tab('Overview')
|
|
|
|
end
|
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
step 'the active sub tab should be Projects' do
|
|
|
|
ensure_active_sub_tab('Projects')
|
2014-09-02 18:07:02 +05:30
|
|
|
end
|
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
step 'the active sub tab should be Groups' do
|
|
|
|
ensure_active_sub_tab('Groups')
|
2014-09-02 18:07:02 +05:30
|
|
|
end
|
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
step 'the active sub tab should be Users' do
|
|
|
|
ensure_active_sub_tab('Users')
|
2014-09-02 18:07:02 +05:30
|
|
|
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
|
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
step 'the active main tab should be Monitoring' do
|
|
|
|
ensure_active_main_tab('Monitoring')
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'the active sub tab should be Resque' do
|
|
|
|
ensure_active_sub_tab('Background Jobs')
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'the active sub tab should be Logs' do
|
|
|
|
ensure_active_sub_tab('Logs')
|
2014-09-02 18:07:02 +05:30
|
|
|
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
|