2014-09-22 14:30:25 +00:00
|
|
|
class Spinach::Features::ProfileActiveTab < Spinach::FeatureSteps
|
2012-09-26 00:11:57 +00:00
|
|
|
include SharedAuthentication
|
|
|
|
include SharedPaths
|
|
|
|
include SharedActiveTab
|
|
|
|
|
2014-09-21 21:40:22 +00:00
|
|
|
step 'the active main tab should be Home' do
|
2014-06-26 07:39:35 +00:00
|
|
|
ensure_active_main_tab('Profile')
|
2012-09-26 00:11:57 +00:00
|
|
|
end
|
|
|
|
|
2014-09-21 21:40:22 +00:00
|
|
|
step 'the active main tab should be Account' do
|
2012-09-26 00:11:57 +00:00
|
|
|
ensure_active_main_tab('Account')
|
|
|
|
end
|
|
|
|
|
2014-09-21 21:40:22 +00:00
|
|
|
step 'the active main tab should be SSH Keys' do
|
2012-09-26 00:11:57 +00:00
|
|
|
ensure_active_main_tab('SSH Keys')
|
|
|
|
end
|
|
|
|
|
2015-06-05 18:00:21 +00:00
|
|
|
step 'the active main tab should be Preferences' do
|
|
|
|
ensure_active_main_tab('Preferences')
|
2012-09-26 00:11:57 +00:00
|
|
|
end
|
|
|
|
|
2015-07-03 11:54:50 +00:00
|
|
|
step 'the active main tab should be Audit Log' do
|
|
|
|
ensure_active_main_tab('Audit Log')
|
2012-09-26 00:11:57 +00:00
|
|
|
end
|
|
|
|
end
|