diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-04-20 15:51:44 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-04-20 15:51:44 +0300 |
commit | 0a6b7caac8e23974385c9e4a900dd7eea07c44fd (patch) | |
tree | 6679b0f192947bd9f2a13a13e412567b7b59f9e3 /spec/factories/ci | |
parent | 1e817e0018af2c3fbb622ec74f02ae255e7be95f (diff) | |
parent | ef55bbd25400349aa9ec35e269f408f94ce5f890 (diff) |
Merge branch 'master' into live-trace-v2
Diffstat (limited to 'spec/factories/ci')
-rw-r--r-- | spec/factories/ci/builds.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb index e1fafa71d5c..4acc008ed38 100644 --- a/spec/factories/ci/builds.rb +++ b/spec/factories/ci/builds.rb @@ -62,6 +62,7 @@ FactoryBot.define do end trait :pending do + queued_at 'Di 29. Okt 09:50:59 CET 2013' status 'pending' end @@ -242,5 +243,10 @@ FactoryBot.define do failed failure_reason 1 end + + trait :api_failure do + failed + failure_reason 2 + end end end |