diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-04-17 14:47:35 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-04-24 12:07:37 +0300 |
commit | cae3092f234d834bfc869b61b05dec5d83742afd (patch) | |
tree | 103181fc5b7a2b757fdfba5f56bd4d263b4f1285 /spec/lib/gitlab | |
parent | f0d59b95f1da0293345705fe0b2c629b911a5b5e (diff) |
Fix specs creating a pipeline stage with implicit index
Diffstat (limited to 'spec/lib/gitlab')
-rw-r--r-- | spec/lib/gitlab/ci/pipeline/chain/create_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/ci/pipeline/chain/create_spec.rb b/spec/lib/gitlab/ci/pipeline/chain/create_spec.rb index dc12ba076bc..f03ed0f508a 100644 --- a/spec/lib/gitlab/ci/pipeline/chain/create_spec.rb +++ b/spec/lib/gitlab/ci/pipeline/chain/create_spec.rb @@ -17,7 +17,7 @@ describe Gitlab::Ci::Pipeline::Chain::Create do context 'when pipeline is ready to be saved' do before do - pipeline.stages.build(name: 'test', project: project) + pipeline.stages.build(name: 'test', index: 0, project: project) step.perform! end |