diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-04 12:09:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-04 12:09:45 +0300 |
commit | 1db4510841a44a95447ddbb6eed22c5505332322 (patch) | |
tree | 6f4a96b14242431c46b9441525df337ad0ec8a0d /spec/factories/ci | |
parent | 10fb317361b93a1a54b17444dec80f5758151a85 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/ci')
-rw-r--r-- | spec/factories/ci/builds.rb | 2 | ||||
-rw-r--r-- | spec/factories/ci/pipelines.rb | 8 |
2 files changed, 0 insertions, 10 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb index c2c215d7b5b..b3815b53c2b 100644 --- a/spec/factories/ci/builds.rb +++ b/spec/factories/ci/builds.rb @@ -420,8 +420,6 @@ FactoryBot.define do end trait :sast do - name { "sast" } - options do { artifacts: { reports: { sast: 'gl-sast-report.json' } } diff --git a/spec/factories/ci/pipelines.rb b/spec/factories/ci/pipelines.rb index a2c5030d18f..2790be8b70d 100644 --- a/spec/factories/ci/pipelines.rb +++ b/spec/factories/ci/pipelines.rb @@ -130,14 +130,6 @@ FactoryBot.define do end end - trait :with_sast_build do - status { :success } - - after(:build) do |pipeline, evaluator| - pipeline.builds << build(:ci_build, :sast, pipeline: pipeline, project: pipeline.project) - end - end - trait :with_exposed_artifacts do status { :success } |