BigW Consortium Gitlab

active_tab.rb 621 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
  step 'the active main tab should be Design' do
19 20 21
    ensure_active_main_tab('Design')
  end

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