Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-04-02 09:07:52 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-02 09:07:52 +0300
commitba836d98593d68d8d6c22c540e31c8031a786bd8 (patch)
tree09e500506edc566b08ea006ce41aa411990b9236 /spec/factories
parent796b00a98a82fcbe082c9343fd4efcccc77478dc (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/ci/test_case.rb5
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