Commit 059ec792 authored by Shinya Maeda's avatar Shinya Maeda

Use be_pending

parent 48e07eab
...@@ -22,7 +22,7 @@ describe TriggerScheduleWorker do ...@@ -22,7 +22,7 @@ describe TriggerScheduleWorker do
end end
it 'creates a new pipeline' do it 'creates a new pipeline' do
expect(Ci::Pipeline.last.status).to eq('pending') expect(Ci::Pipeline.last).to be_pending
end end
it 'updates next_run_at' do it 'updates next_run_at' do
......
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