diff options
author | Shinya Maeda <shinya@gitlab.com> | 2019-03-22 19:38:45 +0700 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2019-05-31 10:49:17 +0700 |
commit | 387a4f4b2cc9cffe2a21ef1060fe35c60d1ac769 (patch) | |
tree | f212a7a540c208c87227a84dda6c204d48e7720f /spec/workers | |
parent | 8ab0db4e8f74457c419e913dc6af6296a0a9fa52 (diff) | |
download | gitlab-ce-387a4f4b2cc9cffe2a21ef1060fe35c60d1ac769.tar.gz |
Remove legacy artifact related coderemove-legacy-artifacts-related-code
We've already migrated all the legacy artifacts to the new realm,
which is ci_job_artifacts table.
It's time to remove the old code base that is no longer used.
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 bdb5a3801d9..39f676f1057 100644 --- a/spec/workers/expire_build_instance_artifacts_worker_spec.rb +++ b/spec/workers/expire_build_instance_artifacts_worker_spec.rb @@ -21,7 +21,7 @@ describe ExpireBuildInstanceArtifactsWorker do end it 'does remove files' do - expect(build.reload.artifacts_file.exists?).to be_falsey + expect(build.reload.artifacts_file.present?).to be_falsey end it 'does remove the job artifact record' do @@ -40,7 +40,7 @@ describe ExpireBuildInstanceArtifactsWorker do end it 'does not remove files' do - expect(build.reload.artifacts_file.exists?).to be_truthy + expect(build.reload.artifacts_file.present?).to be_truthy end it 'does not remove the job artifact record' do @@ -56,7 +56,7 @@ describe ExpireBuildInstanceArtifactsWorker do end it 'does not remove files' do - expect(build.reload.artifacts_file.exists?).to be_truthy + expect(build.reload.artifacts_file.present?).to be_truthy end it 'does not remove the job artifact record' do |