Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-01-18 18:14:54 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-01-18 18:14:54 +0300
commitda975941d13188324266a50d3f8c0292690ee437 (patch)
tree580c16776dbb16ea40324c8417f9a89bb8856089 /spec/workers/purge_dependency_proxy_cache_worker_spec.rb
parentfd8a91738ea9c6d2402bb2a2292cb4a6d5f46924 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers/purge_dependency_proxy_cache_worker_spec.rb')
-rw-r--r--spec/workers/purge_dependency_proxy_cache_worker_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/workers/purge_dependency_proxy_cache_worker_spec.rb b/spec/workers/purge_dependency_proxy_cache_worker_spec.rb
index b928104fb58..3de59670f8d 100644
--- a/spec/workers/purge_dependency_proxy_cache_worker_spec.rb
+++ b/spec/workers/purge_dependency_proxy_cache_worker_spec.rb
@@ -25,11 +25,11 @@ RSpec.describe PurgeDependencyProxyCacheWorker do
include_examples 'an idempotent worker' do
let(:job_args) { [user.id, group_id] }
- it 'expires the blobs and returns ok', :aggregate_failures do
+ it 'marks the blobs as pending_destruction and returns ok', :aggregate_failures do
subject
- expect(blob).to be_expired
- expect(manifest).to be_expired
+ expect(blob).to be_pending_destruction
+ expect(manifest).to be_pending_destruction
end
end
end