diff options
author | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-04-06 18:55:16 +0900 |
---|---|---|
committer | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-04-06 23:46:59 +0900 |
commit | 059ec792cbd670d2b716c111b6faa50e5782ae9f (patch) | |
tree | 9d63285a27796210cea231fc519a98c6b910b075 /spec/workers | |
parent | 48e07eab5755770bff9d5ee1aca33526e4120637 (diff) | |
download | gitlab-ce-059ec792cbd670d2b716c111b6faa50e5782ae9f.tar.gz |
Use be_pending
Diffstat (limited to 'spec/workers')
-rw-r--r-- | spec/workers/trigger_schedule_worker_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/trigger_schedule_worker_spec.rb b/spec/workers/trigger_schedule_worker_spec.rb index c48f1406c34..0bb0bcc5c42 100644 --- a/spec/workers/trigger_schedule_worker_spec.rb +++ b/spec/workers/trigger_schedule_worker_spec.rb @@ -22,7 +22,7 @@ describe TriggerScheduleWorker do end it 'creates a new pipeline' do - expect(Ci::Pipeline.last.status).to eq('pending') + expect(Ci::Pipeline.last).to be_pending end it 'updates next_run_at' do |