Commit 533f5ca4 authored by Shinya Maeda's avatar Shinya Maeda Committed by Alessio Caiazza

Fix spec

parent bc5d649a
...@@ -395,7 +395,7 @@ describe Ci::ProcessPipelineService, '#execute' do ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment