summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-11-30 14:19:07 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2017-12-03 12:04:49 +0100
commit8f01e67980d4ab8a7879800156cdc1dee07a4e8b (patch)
treee2b15852db7663163e7f88d6aa6a44498379b167 /spec
parent2045a771bfa5a1a32ff04f5bc23d58f1170b6359 (diff)
downloadgitlab-ce-8f01e67980d4ab8a7879800156cdc1dee07a4e8b.tar.gz
Revert "Rename `job_archive|metadata` to `artifacts_archive|metadata`"
This reverts commit 714082e65304ae2ec5c5400c59a68ab63e724aa9.
Diffstat (limited to 'spec')
-rw-r--r--spec/services/ci/retry_build_service_spec.rb2
-rw-r--r--spec/workers/expire_build_instance_artifacts_worker_spec.rb6
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/services/ci/retry_build_service_spec.rb b/spec/services/ci/retry_build_service_spec.rb
index 3078e5b35e4..20fe80beade 100644
--- a/spec/services/ci/retry_build_service_spec.rb
+++ b/spec/services/ci/retry_build_service_spec.rb
@@ -17,7 +17,7 @@ describe Ci::RetryBuildService do
%i[id status user token coverage trace runner artifacts_expire_at
artifacts_file artifacts_metadata artifacts_size created_at
updated_at started_at finished_at queued_at erased_by
- erased_at auto_canceled_by job_artifacts artifacts_archive artifacts_metadata].freeze
+ erased_at auto_canceled_by job_artifacts job_archive job_metadata].freeze
IGNORE_ACCESSORS =
%i[type lock_version target_url base_tags trace_sections
diff --git a/spec/workers/expire_build_instance_artifacts_worker_spec.rb b/spec/workers/expire_build_instance_artifacts_worker_spec.rb
index 05e2aa0703b..c0d2b1b7411 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.artifacts_archive).to be_nil
+ expect(build.reload.job_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.artifacts_archive).not_to be_nil
+ expect(build.reload.job_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.artifacts_archive).not_to be_nil
+ expect(build.reload.job_archive).not_to be_nil
end
end