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
4099d5b3
Commit
4099d5b3
authored
Nov 05, 2018
by
Kamil Trzciński
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve specs
parent
19f2d1bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
43 deletions
+4
-43
ee/spec/models/ci/pipeline_spec.rb
ee/spec/models/ci/pipeline_spec.rb
+4
-43
No files found.
ee/spec/models/ci/pipeline_spec.rb
View file @
4099d5b3
...
...
@@ -29,49 +29,10 @@ describe Ci::Pipeline do
before
do
create
(
:ci_build
,
:legacy_sast
,
pipeline:
pipeline_1
)
create
(
:ci_build
,
:success
,
:artifacts
,
name:
'dependency_scanning'
,
pipeline:
pipeline_2
,
options:
{
artifacts:
{
paths:
[
Ci
::
JobArtifact
::
DEFAULT_FILE_NAMES
[
:dependency_scanning
]]
}
}
)
create
(
:ci_build
,
:success
,
:artifacts
,
name:
'container_scanning'
,
pipeline:
pipeline_3
,
options:
{
artifacts:
{
paths:
[
Ci
::
JobArtifact
::
DEFAULT_FILE_NAMES
[
:container_scanning
]]
}
}
)
create
(
:ci_build
,
:success
,
:artifacts
,
name:
'dast'
,
pipeline:
pipeline_4
,
options:
{
artifacts:
{
paths:
[
Ci
::
JobArtifact
::
DEFAULT_FILE_NAMES
[
:dast
]]
}
}
)
create
(
:ci_build
,
:success
,
:artifacts
,
name:
'foobar'
,
pipeline:
pipeline_5
)
create
(
:ci_build
,
:legacy_dependency_scanning
,
pipeline:
pipeline_2
)
create
(
:ci_build
,
:legacy_container_scanning
,
pipeline:
pipeline_3
)
create
(
:ci_build
,
:legacy_dast
,
pipeline:
pipeline_4
)
create
(
:ci_build
,
:success
,
:artifacts
,
name:
'foobar'
,
pipeline:
pipeline_5
)
end
it
"returns pipeline with security reports"
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