diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-08 00:32:37 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-08 00:32:37 +0000 |
commit | 469a50879c1085ec77c95d650b7f135fee2c9e13 (patch) | |
tree | 0d639a63294b5abdb4e4a7bf1ed5a497d5e6869f /spec/services/environments | |
parent | aa5ca44f172f02f04cca448b1f9c17d6d933de40 (diff) | |
download | gitlab-ce-469a50879c1085ec77c95d650b7f135fee2c9e13.tar.gz |
Add latest changes from gitlab-org/gitlab@13-7-stable-ee
Diffstat (limited to 'spec/services/environments')
-rw-r--r-- | spec/services/environments/canary_ingress/update_service_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/services/environments/canary_ingress/update_service_spec.rb b/spec/services/environments/canary_ingress/update_service_spec.rb index 31d6f543817..5ba62e7104c 100644 --- a/spec/services/environments/canary_ingress/update_service_spec.rb +++ b/spec/services/environments/canary_ingress/update_service_spec.rb @@ -117,6 +117,12 @@ RSpec.describe Environments::CanaryIngress::UpdateService, :clean_gitlab_redis_c expect(subject[:status]).to eq(:success) expect(subject[:message]).to be_nil end + + it 'clears all caches' do + expect(environment).to receive(:clear_all_caches) + + subject + end end context 'when patch request does not succeed' do |