diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-02 09:07:52 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-02 09:07:52 +0300 |
commit | ba836d98593d68d8d6c22c540e31c8031a786bd8 (patch) | |
tree | 09e500506edc566b08ea006ce41aa411990b9236 /spec/factories | |
parent | 796b00a98a82fcbe082c9343fd4efcccc77478dc (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/test_case.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/factories/ci/test_case.rb b/spec/factories/ci/test_case.rb index ce6bd0f3d7d..dc0e7c762ab 100644 --- a/spec/factories/ci/test_case.rb +++ b/spec/factories/ci/test_case.rb @@ -11,7 +11,12 @@ FactoryBot.define do attachment { nil } association :job, factory: :ci_build + trait :failed do + status { "failed" } + end + trait :with_attachment do + status { "failed" } attachment { "some/path.png" } end |