diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-14 12:09:25 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-14 12:09:25 +0300 |
commit | 3438be0998953aa87854371f42df3c1f47bc2544 (patch) | |
tree | 0a7ff932c9b0ddd62da8f72fb24bd657f02777de /spec/workers | |
parent | ca1dcb848f19e854d2022587436fa5bc5f8ef933 (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.rb | 5 |
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 |