BigW Consortium Gitlab

active_tab.rb 635 Bytes
Newer Older
1
class Spinach::Features::ProfileActiveTab < Spinach::FeatureSteps
2 3 4 5
  include SharedAuthentication
  include SharedPaths
  include SharedActiveTab

6
  step 'the active main tab should be Home' do
7
    ensure_active_main_tab('Profile')
8 9
  end

10
  step 'the active main tab should be Account' do
11 12 13
    ensure_active_main_tab('Account')
  end

14
  step 'the active main tab should be SSH Keys' do
15 16 17
    ensure_active_main_tab('SSH Keys')
  end

18 19
  step 'the active main tab should be Preferences' do
    ensure_active_main_tab('Preferences')
20 21
  end

22 23
  step 'the active main tab should be Audit Log' do
    ensure_active_main_tab('Audit Log')
24 25
  end
end