2014-09-22 10:30:25 -04:00
|
|
|
class Spinach::Features::ProfileActiveTab < Spinach::FeatureSteps
|
2012-09-25 20:11:57 -04:00
|
|
|
include SharedAuthentication
|
|
|
|
include SharedPaths
|
|
|
|
include SharedActiveTab
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'the active main tab should be Home' do
|
2014-06-26 03:39:35 -04:00
|
|
|
ensure_active_main_tab('Profile')
|
2012-09-25 20:11:57 -04:00
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'the active main tab should be Account' do
|
2012-09-25 20:11:57 -04:00
|
|
|
ensure_active_main_tab('Account')
|
|
|
|
end
|
|
|
|
|
2014-09-21 17:40:22 -04:00
|
|
|
step 'the active main tab should be SSH Keys' do
|
2012-09-25 20:11:57 -04:00
|
|
|
ensure_active_main_tab('SSH Keys')
|
|
|
|
end
|
|
|
|
|
2015-06-05 14:00:21 -04:00
|
|
|
step 'the active main tab should be Preferences' do
|
|
|
|
ensure_active_main_tab('Preferences')
|
2012-09-25 20:11:57 -04:00
|
|
|
end
|
|
|
|
|
2017-05-16 08:54:57 -04:00
|
|
|
step 'the active main tab should be Authentication log' do
|
|
|
|
ensure_active_main_tab('Authentication log')
|
2012-09-25 20:11:57 -04:00
|
|
|
end
|
|
|
|
end
|