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:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-04-17 13:56:04 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-04-24 12:07:37 +0300
commitf0d59b95f1da0293345705fe0b2c629b911a5b5e (patch)
tree258cb7e7c36257540cf9ee124f041fe66cd07d0b /spec/factories/ci
parent43dd213b8c0c1d306ace25f6d307b7e777c944cd (diff)
Validate presence of a stage index in the model
Diffstat (limited to 'spec/factories/ci')
-rw-r--r--spec/factories/ci/stages.rb1
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