debian-mirror-gitlab/features/steps/admin/active_tab.rb

42 lines
995 B
Ruby
Raw Normal View History

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
step 'the active main tab should be Overview' do
2014-09-02 18:07:02 +05:30
ensure_active_main_tab('Overview')
end
step 'the active sub tab should be Projects' do
ensure_active_sub_tab('Projects')
2014-09-02 18:07:02 +05:30
end
step 'the active sub tab should be Groups' do
ensure_active_sub_tab('Groups')
2014-09-02 18:07:02 +05:30
end
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
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