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
136bfef3
Commit
136bfef3
authored
May 14, 2020
by
Heinrich Lee Yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix flaky spec due to non-deterministic order
parent
3b180468
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/services/ci/create_pipeline_service/custom_config_content_spec.rb
.../ci/create_pipeline_service/custom_config_content_spec.rb
+2
-2
No files found.
spec/services/ci/create_pipeline_service/custom_config_content_spec.rb
View file @
136bfef3
...
@@ -34,7 +34,7 @@ describe Ci::CreatePipelineService do
...
@@ -34,7 +34,7 @@ describe Ci::CreatePipelineService do
it
'creates a pipeline using the content passed in as param'
do
it
'creates a pipeline using the content passed in as param'
do
expect
(
subject
).
to
be_persisted
expect
(
subject
).
to
be_persisted
expect
(
subject
.
builds
.
map
(
&
:name
)).
to
eq
%w[rspec custom]
expect
(
subject
.
builds
.
pluck
(
:name
)).
to
match_array
%w[rspec custom]
expect
(
subject
.
config_source
).
to
eq
'bridge_source'
expect
(
subject
.
config_source
).
to
eq
'bridge_source'
end
end
...
@@ -59,7 +59,7 @@ describe Ci::CreatePipelineService do
...
@@ -59,7 +59,7 @@ describe Ci::CreatePipelineService do
it
'created a pipeline using the content passed in as param and download the artifact'
do
it
'created a pipeline using the content passed in as param and download the artifact'
do
expect
(
subject
).
to
be_persisted
expect
(
subject
).
to
be_persisted
expect
(
subject
.
builds
.
pluck
(
:name
)).
to
eq
%w[rspec time custom]
expect
(
subject
.
builds
.
pluck
(
:name
)).
to
match_array
%w[rspec time custom]
expect
(
subject
.
config_source
).
to
eq
'bridge_source'
expect
(
subject
.
config_source
).
to
eq
'bridge_source'
end
end
end
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