diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-08-31 22:03:41 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-09-05 14:30:28 +0900 |
commit | 1d7c0390722c96aa66af5b26f5a826b97293dcd6 (patch) | |
tree | ff1795a881ac9a4fa455552ef5dd076f2978d8e2 /spec/workers | |
parent | b1af1f268b97c8518bf2806bca48f49174a8aead (diff) | |
download | gitlab-ce-1d7c0390722c96aa66af5b26f5a826b97293dcd6.tar.gz |
Fix enum lists
Diffstat (limited to 'spec/workers')
-rw-r--r-- | spec/workers/stuck_ci_jobs_worker_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/stuck_ci_jobs_worker_spec.rb b/spec/workers/stuck_ci_jobs_worker_spec.rb index f0691813e77..41549a77495 100644 --- a/spec/workers/stuck_ci_jobs_worker_spec.rb +++ b/spec/workers/stuck_ci_jobs_worker_spec.rb @@ -20,7 +20,7 @@ describe StuckCiJobsWorker do it 'changes status' do worker.perform is_expected.to eq('failed') - expect(job).to be_failed_by_stuck_and_timeout + expect(job).to be_stuck_or_timeout_failure end end |