admin_active_tab.rb 772 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
class AdminActiveTab < Spinach::FeatureSteps
  include SharedAuthentication
  include SharedPaths
  include SharedActiveTab

  Then 'the active main tab should be Home' do
    ensure_active_main_tab('Stats')
  end

  Then 'the active main tab should be Projects' do
    ensure_active_main_tab('Projects')
  end

14 15 16 17
  Then 'the active main tab should be Groups' do
    ensure_active_main_tab('Groups')
  end

18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
  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
    ensure_active_main_tab('Resque')
  end
end