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
Jérome Perrin
gitlab-ce
Commits
0f5ccd38
Commit
0f5ccd38
authored
Feb 06, 2018
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a hardcoded pipeline ID in a spinach step
parent
9483cbab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
features/steps/project/commits/commits.rb
features/steps/project/commits/commits.rb
+3
-3
No files found.
features/steps/project/commits/commits.rb
View file @
0f5ccd38
...
...
@@ -154,8 +154,8 @@ class Spinach::Features::ProjectCommits < Spinach::FeatureSteps
step
'commit has ci status'
do
@project
.
enable_ci
pipeline
=
create
:ci_pipeline
,
project:
@project
,
sha:
sample_commit
.
id
create
:ci_build
,
pipeline:
pipeline
@pipeline
=
create
(
:ci_pipeline
,
project:
@project
,
sha:
sample_commit
.
id
)
create
(
:ci_build
,
pipeline:
@pipeline
)
end
step
'repository contains ".gitlab-ci.yml" file'
do
...
...
@@ -163,7 +163,7 @@ class Spinach::Features::ProjectCommits < Spinach::FeatureSteps
end
step
'I see commit ci info'
do
expect
(
page
).
to
have_content
"Pipeline #
1
pending"
expect
(
page
).
to
have_content
"Pipeline #
#{
@pipeline
.
id
}
pending"
end
step
'I search "submodules" commits'
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