2015-04-26 12:48:37 +05:30
|
|
|
class Spinach::Features::ProfileActiveTab < Spinach::FeatureSteps
|
2014-09-02 18:07:02 +05:30
|
|
|
include SharedAuthentication
|
|
|
|
include SharedPaths
|
|
|
|
include SharedActiveTab
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
step 'the active main tab should be Home' do
|
2014-09-02 18:07:02 +05:30
|
|
|
ensure_active_main_tab('Profile')
|
|
|
|
end
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
step 'the active main tab should be Account' do
|
2014-09-02 18:07:02 +05:30
|
|
|
ensure_active_main_tab('Account')
|
|
|
|
end
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
step 'the active main tab should be SSH Keys' do
|
2014-09-02 18:07:02 +05:30
|
|
|
ensure_active_main_tab('SSH Keys')
|
|
|
|
end
|
|
|
|
|
2015-09-11 14:41:01 +05:30
|
|
|
step 'the active main tab should be Preferences' do
|
|
|
|
ensure_active_main_tab('Preferences')
|
2014-09-02 18:07:02 +05:30
|
|
|
end
|
|
|
|
|
2015-09-11 14:41:01 +05:30
|
|
|
step 'the active main tab should be Audit Log' do
|
|
|
|
ensure_active_main_tab('Audit Log')
|
2014-09-02 18:07:02 +05:30
|
|
|
end
|
|
|
|
end
|