debian-mirror-gitlab/features/steps/profile/active_tab.rb

26 lines
653 B
Ruby
Raw Normal View History

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
2017-09-10 17:25:29 +05:30
step 'the active main tab should be Authentication log' do
ensure_active_main_tab('Authentication log')
2014-09-02 18:07:02 +05:30
end
end