Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
aab5d550
Commit
aab5d550
authored
Aug 30, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more spinach fixes
parent
903e1a30
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
features/steps/project/pages.rb
features/steps/project/pages.rb
+2
-2
features/steps/project/snippets.rb
features/steps/project/snippets.rb
+1
-1
features/steps/shared/project_tab.rb
features/steps/shared/project_tab.rb
+1
-1
No files found.
features/steps/project/pages.rb
View file @
aab5d550
...
...
@@ -23,13 +23,13 @@ class Spinach::Features::ProjectPages < Spinach::FeatureSteps
end
step
'I should see the "Pages" tab'
do
page
.
within
'.
sub-nav
'
do
page
.
within
'.
nav-sidebar
'
do
expect
(
page
).
to
have_link
(
'Pages'
)
end
end
step
'I should not see the "Pages" tab'
do
page
.
within
'.
sub-nav
'
do
page
.
within
'.
nav-sidebar
'
do
expect
(
page
).
not_to
have_link
(
'Pages'
)
end
end
...
...
features/steps/project/snippets.rb
View file @
aab5d550
...
...
@@ -23,7 +23,7 @@ class Spinach::Features::ProjectSnippets < Spinach::FeatureSteps
end
step
'I click link "New snippet"'
do
page
.
within
'
#content-body
'
do
page
.
within
'
.breadcrumbs
'
do
first
(
:link
,
"New snippet"
).
click
end
end
...
...
features/steps/shared/project_tab.rb
View file @
aab5d550
...
...
@@ -5,7 +5,7 @@ module SharedProjectTab
include
SharedActiveTab
step
'the active main tab should be Project'
do
ensure_active_main_tab
(
'
Project
'
)
ensure_active_main_tab
(
'
Overview
'
)
end
step
'the active main tab should be Repository'
do
...
...
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