diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-11-30 16:18:38 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-12-03 14:04:49 +0300 |
commit | ab02bd69425fe17e65717bed91e99b62e11c0e74 (patch) | |
tree | bbfd87830543ed8f7339849e30c0d99e92c1b2e7 /spec/workers | |
parent | 8f01e67980d4ab8a7879800156cdc1dee07a4e8b (diff) |
Use `job_artifacts_archive|metadata`
Diffstat (limited to 'spec/workers')
-rw-r--r-- | spec/workers/expire_build_instance_artifacts_worker_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/workers/expire_build_instance_artifacts_worker_spec.rb b/spec/workers/expire_build_instance_artifacts_worker_spec.rb index c0d2b1b7411..e1a56c72162 100644 --- a/spec/workers/expire_build_instance_artifacts_worker_spec.rb +++ b/spec/workers/expire_build_instance_artifacts_worker_spec.rb @@ -23,7 +23,7 @@ describe ExpireBuildInstanceArtifactsWorker do end it 'does remove the job artifact record' do - expect(build.reload.job_archive).to be_nil + expect(build.reload.job_artifacts_archive).to be_nil end end end @@ -42,7 +42,7 @@ describe ExpireBuildInstanceArtifactsWorker do end it 'does not remove the job artifact record' do - expect(build.reload.job_archive).not_to be_nil + expect(build.reload.job_artifacts_archive).not_to be_nil end end @@ -58,7 +58,7 @@ describe ExpireBuildInstanceArtifactsWorker do end it 'does not remove the job artifact record' do - expect(build.reload.job_archive).not_to be_nil + expect(build.reload.job_artifacts_archive).not_to be_nil end end |