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-07-14 12:09:25 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-14 12:09:25 +0300
commit3438be0998953aa87854371f42df3c1f47bc2544 (patch)
tree0a7ff932c9b0ddd62da8f72fb24bd657f02777de /spec/workers
parentca1dcb848f19e854d2022587436fa5bc5f8ef933 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers')
-rw-r--r--spec/workers/pages/invalidate_domain_cache_worker_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/workers/pages/invalidate_domain_cache_worker_spec.rb b/spec/workers/pages/invalidate_domain_cache_worker_spec.rb
index fe453db59f4..1c1586ef199 100644
--- a/spec/workers/pages/invalidate_domain_cache_worker_spec.rb
+++ b/spec/workers/pages/invalidate_domain_cache_worker_spec.rb
@@ -37,4 +37,9 @@ RSpec.describe Pages::InvalidateDomainCacheWorker do
event_class: Projects::ProjectDeletedEvent,
event_data: { project_id: 1, namespace_id: 2, root_namespace_id: 3 },
caches: { namespace: 3, project: 1 }
+
+ it_behaves_like 'clears caches with',
+ event_class: Projects::ProjectCreatedEvent,
+ event_data: { project_id: 1, namespace_id: 2, root_namespace_id: 3 },
+ caches: { namespace: 3, project: 1 }
end