gitlab-org--gitlab-foss/features/steps/profile/active_tab.rb
Dmitriy Zaporozhets c31c8c55a4
Merge branch 'spinach-step' of https://github.com/cirosantilli/gitlabhq into cirosantilli-spinach-step
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>

Conflicts:
	features/steps/project/markdown_render.rb
2014-09-22 20:56:12 +03:00

25 lines
621 B
Ruby

class Spinach::Features::ProfileActiveTab < Spinach::FeatureSteps
include SharedAuthentication
include SharedPaths
include SharedActiveTab
step 'the active main tab should be Home' do
ensure_active_main_tab('Profile')
end
step 'the active main tab should be Account' do
ensure_active_main_tab('Account')
end
step 'the active main tab should be SSH Keys' do
ensure_active_main_tab('SSH Keys')
end
step 'the active main tab should be Design' do
ensure_active_main_tab('Design')
end
step 'the active main tab should be History' do
ensure_active_main_tab('History')
end
end