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
1
Merge Requests
1
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
nexedi
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
Hide 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
...
@@ -23,13 +23,13 @@ class Spinach::Features::ProjectPages < Spinach::FeatureSteps
end
end
step
'I should see the "Pages" tab'
do
step
'I should see the "Pages" tab'
do
page
.
within
'.
sub-nav
'
do
page
.
within
'.
nav-sidebar
'
do
expect
(
page
).
to
have_link
(
'Pages'
)
expect
(
page
).
to
have_link
(
'Pages'
)
end
end
end
end
step
'I should not see the "Pages" tab'
do
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'
)
expect
(
page
).
not_to
have_link
(
'Pages'
)
end
end
end
end
...
...
features/steps/project/snippets.rb
View file @
aab5d550
...
@@ -23,7 +23,7 @@ class Spinach::Features::ProjectSnippets < Spinach::FeatureSteps
...
@@ -23,7 +23,7 @@ class Spinach::Features::ProjectSnippets < Spinach::FeatureSteps
end
end
step
'I click link "New snippet"'
do
step
'I click link "New snippet"'
do
page
.
within
'
#content-body
'
do
page
.
within
'
.breadcrumbs
'
do
first
(
:link
,
"New snippet"
).
click
first
(
:link
,
"New snippet"
).
click
end
end
end
end
...
...
features/steps/shared/project_tab.rb
View file @
aab5d550
...
@@ -5,7 +5,7 @@ module SharedProjectTab
...
@@ -5,7 +5,7 @@ module SharedProjectTab
include
SharedActiveTab
include
SharedActiveTab
step
'the active main tab should be Project'
do
step
'the active main tab should be Project'
do
ensure_active_main_tab
(
'
Project
'
)
ensure_active_main_tab
(
'
Overview
'
)
end
end
step
'the active main tab should be Repository'
do
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