BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
5d1ab47b
Unverified
Commit
5d1ab47b
authored
Apr 15, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert help link tests removal
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
400c9c5a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
active_tab.feature
features/dashboard/active_tab.feature
+5
-0
active_tab.rb
features/steps/dashboard/active_tab.rb
+3
-0
paths.rb
features/steps/shared/paths.rb
+4
-0
No files found.
features/dashboard/active_tab.feature
View file @
5d1ab47b
...
...
@@ -17,3 +17,8 @@ Feature: Dashboard Active Tab
Given
I visit dashboard merge requests page
Then
the active main tab should be Merge Requests
And
no other main tabs should be active
Scenario
:
On Dashboard Help
Given
I visit dashboard help page
Then
the active main tab should be Help
And
no other main tabs should be active
features/steps/dashboard/active_tab.rb
View file @
5d1ab47b
...
...
@@ -3,4 +3,7 @@ class Spinach::Features::DashboardActiveTab < Spinach::FeatureSteps
include
SharedPaths
include
SharedActiveTab
step
'the active main tab should be Help'
do
ensure_active_main_tab
(
'Help'
)
end
end
features/steps/shared/paths.rb
View file @
5d1ab47b
...
...
@@ -83,6 +83,10 @@ module SharedPaths
visit
search_path
end
step
'I visit dashboard help page'
do
visit
help_path
end
step
'I visit dashboard groups page'
do
visit
dashboard_groups_path
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment