diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-07 12:09:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-07 12:09:51 +0300 |
commit | d8803c7e40bd35d883ef007ddc56907bd837a748 (patch) | |
tree | e65de9306d46d111222b03ef29aafbe57adf86ac /spec/factories | |
parent | b6a92c969b16549683ef276f1db7ba9a41dc85bb (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/pipelines.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/factories/ci/pipelines.rb b/spec/factories/ci/pipelines.rb index f71225eac22..0b3653a01ed 100644 --- a/spec/factories/ci/pipelines.rb +++ b/spec/factories/ci/pipelines.rb @@ -83,6 +83,14 @@ FactoryBot.define do end end + trait :with_accessibility_reports do + status { :success } + + after(:build) do |pipeline, evaluator| + pipeline.builds << build(:ci_build, :accessibility_reports, pipeline: pipeline, project: pipeline.project) + end + end + trait :with_coverage_reports do status { :success } |