diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-04-17 13:56:04 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-04-24 12:07:37 +0300 |
commit | f0d59b95f1da0293345705fe0b2c629b911a5b5e (patch) | |
tree | 258cb7e7c36257540cf9ee124f041fe66cd07d0b /spec/factories/ci | |
parent | 43dd213b8c0c1d306ace25f6d307b7e777c944cd (diff) |
Validate presence of a stage index in the model
Diffstat (limited to 'spec/factories/ci')
-rw-r--r-- | spec/factories/ci/stages.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/factories/ci/stages.rb b/spec/factories/ci/stages.rb index 25309033571..3711d3c7c49 100644 --- a/spec/factories/ci/stages.rb +++ b/spec/factories/ci/stages.rb @@ -21,6 +21,7 @@ FactoryBot.define do pipeline factory: :ci_empty_pipeline name 'test' + index 1 status 'pending' end end |