gitlabhq/features/steps/admin/admin_active_tab.rb

34 lines
780 B
Ruby
Raw Normal View History

class AdminActiveTab < Spinach::FeatureSteps
include SharedAuthentication
include SharedPaths
include SharedActiveTab
Then 'the active main tab should be Home' do
2013-01-31 11:08:56 +01:00
ensure_active_main_tab('Home')
end
Then 'the active main tab should be Projects' do
ensure_active_main_tab('Projects')
end
Then 'the active main tab should be Groups' do
ensure_active_main_tab('Groups')
end
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 07:14:05 +01:00
ensure_active_main_tab('Background Jobs')
end
end