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
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
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
pages.rb
features/steps/project/pages.rb
+2
-2
snippets.rb
features/steps/project/snippets.rb
+1
-1
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