diff options
author | Ciro Santillli <ciro.santilli@gmail.com> | 2014-02-23 10:04:56 +0100 |
---|---|---|
committer | Ciro Santillli <ciro.santilli@gmail.com> | 2014-02-23 10:34:39 +0100 |
commit | 170340e6b15f91e79cf683c892ec887c3115b317 (patch) | |
tree | 19cf1f82b08201295b3e66170a967e813c522189 /features/steps/admin/active_tab.rb | |
parent | e868de687da060a109bd67fd492ed110eb134d47 (diff) | |
download | gitlab-ce-170340e6b15f91e79cf683c892ec887c3115b317.tar.gz |
Remove dir prefix and suffix from tests inside dir.
Diffstat (limited to 'features/steps/admin/active_tab.rb')
-rw-r--r-- | features/steps/admin/active_tab.rb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/features/steps/admin/active_tab.rb b/features/steps/admin/active_tab.rb new file mode 100644 index 00000000000..ccafe09c18f --- /dev/null +++ b/features/steps/admin/active_tab.rb @@ -0,0 +1,37 @@ +class AdminActiveTab < Spinach::FeatureSteps + include SharedAuthentication + include SharedPaths + include SharedActiveTab + + Then 'the active main tab should be Home' do + ensure_active_main_tab('Home') + end + + Then 'the active main tab should be Projects' do + ensure_active_main_tab('Projects') + end + + Then 'the active main tab should be Groups' do + ensure_active_main_tab('Groups') + end + + Then 'the active main tab should be Users' do + ensure_active_main_tab('Users') + end + + Then 'the active main tab should be Logs' do + ensure_active_main_tab('Logs') + end + + Then 'the active main tab should be Hooks' do + ensure_active_main_tab('Hooks') + end + + Then 'the active main tab should be Resque' do + ensure_active_main_tab('Background Jobs') + end + + Then 'the active main tab should be Messages' do + ensure_active_main_tab('Messages') + end +end |