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
Boxiang Sun
gitlab-ce
Commits
0b7ff7c5
Commit
0b7ff7c5
authored
Sep 28, 2018
by
Matija Čupić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restyle background_migration spec
parent
3e309ea7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
spec/lib/gitlab/background_migration/populate_external_pipeline_source_spec.rb
...round_migration/populate_external_pipeline_source_spec.rb
+4
-3
No files found.
spec/lib/gitlab/background_migration/populate_external_pipeline_source_spec.rb
View file @
0b7ff7c5
...
...
@@ -5,13 +5,14 @@ require 'spec_helper'
describe
Gitlab
::
BackgroundMigration
::
PopulateExternalPipelineSource
,
:migration
,
schema:
20180916011959
do
let
(
:migration
)
{
described_class
.
new
}
let!
(
:internal_pipeline
)
{
create
(
:ci_pipeline
,
source:
Ci
::
Pipeline
.
sources
[
:web
])
}
let!
(
:internal_pipeline
)
{
create
(
:ci_pipeline
,
source: :web
)
}
let!
(
:external_pipeline
)
do
build
(
:ci_pipeline
,
source:
Ci
::
Pipeline
.
sources
[
:unknown
]
)
build
(
:ci_pipeline
,
source:
:unknown
)
.
tap
{
|
pipeline
|
pipeline
.
save
(
validate:
false
)
}
end
let!
(
:second_external_pipeline
)
do
build
(
:ci_pipeline
,
source:
Ci
::
Pipeline
.
sources
[
:unknown
]
)
build
(
:ci_pipeline
,
source:
:unknown
)
.
tap
{
|
pipeline
|
pipeline
.
save
(
validate:
false
)
}
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