Fix spec
This commit is contained in:
parent
bc5d649a4c
commit
533f5ca4c9
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,7 @@ describe Ci::ProcessPipelineService, '#execute' do
|
||||||
enqueue_scheduled('delayed1')
|
enqueue_scheduled('delayed1')
|
||||||
|
|
||||||
expect(builds_names_and_statuses).to eq({ 'delayed1': 'pending', 'delayed2': 'scheduled' })
|
expect(builds_names_and_statuses).to eq({ 'delayed1': 'pending', 'delayed2': 'scheduled' })
|
||||||
expect(pipeline.reload.status).to eq 'scheduled'
|
expect(pipeline.reload.status).to eq 'running'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue