Fix test for processing pipeline after retrying build
This commit is contained in:
parent
b18afa835b
commit
d147ebf3f8
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ describe Ci::ProcessPipelineService, services: true do
|
|||
expect(builds.pluck(:name))
|
||||
.to contain_exactly('build:1', 'build:2', 'test:1', 'test:2')
|
||||
|
||||
Ci::Build.retry(pipeline.builds.find_by(name: 'test:2'))
|
||||
Ci::Build.retry(pipeline.builds.find_by(name: 'test:2')).success
|
||||
|
||||
expect(builds.pluck(:name)).to contain_exactly(
|
||||
'build:1', 'build:2', 'test:1', 'test:2', 'test:2', 'deploy:1', 'deploy:2')
|
||||
|
|
Loading…
Reference in a new issue