Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2014-08-21 12:14:31 +0400
committerRobert Schilling <rschilling@student.tugraz.at>2014-09-01 13:49:17 +0400
commit0cbc19f9449ffc6e624c0b7e22ea837468658377 (patch)
treee48375611c09c38a14f45adecbe31309f308798b /features/steps/dashboard
parent174c00cf2c026a3bdc61d94b45195a5e5c99202f (diff)
Awesome shortcuts for GitLab
Diffstat (limited to 'features/steps/dashboard')
-rw-r--r--features/steps/dashboard/active_tab.rb14
-rw-r--r--features/steps/dashboard/shortcuts.rb6
2 files changed, 7 insertions, 13 deletions
diff --git a/features/steps/dashboard/active_tab.rb b/features/steps/dashboard/active_tab.rb
index 68d32ed971a..d5db3339df2 100644
--- a/features/steps/dashboard/active_tab.rb
+++ b/features/steps/dashboard/active_tab.rb
@@ -3,19 +3,7 @@ class DashboardActiveTab < Spinach::FeatureSteps
include SharedPaths
include SharedActiveTab
- Then 'the active main tab should be Home' do
- ensure_active_main_tab('Activity')
- end
-
- Then 'the active main tab should be Issues' do
- ensure_active_main_tab('Issues')
- end
-
- Then 'the active main tab should be Merge Requests' do
- ensure_active_main_tab('Merge Requests')
- end
-
- Then 'the active main tab should be Help' do
+ step 'the active main tab should be Help' do
ensure_active_main_tab('Help')
end
end
diff --git a/features/steps/dashboard/shortcuts.rb b/features/steps/dashboard/shortcuts.rb
new file mode 100644
index 00000000000..d4484e7a20f
--- /dev/null
+++ b/features/steps/dashboard/shortcuts.rb
@@ -0,0 +1,6 @@
+class DashboardShortcuts < Spinach::FeatureSteps
+ include SharedAuthentication
+ include SharedPaths
+ include SharedProject
+ include SharedActiveTab
+end