diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-02 18:09:42 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-02 18:09:42 +0000 |
commit | a37d7647a5aa97b46d616ab3d30ed693e5e8bdff (patch) | |
tree | 91854088bba2baa00846508b75bf02fb3acd1c3a /spec/services/protected_branches | |
parent | 0a70b104d06b27e1d391a7035fa0500e84daaef4 (diff) | |
download | gitlab-ce-a37d7647a5aa97b46d616ab3d30ed693e5e8bdff.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/protected_branches')
-rw-r--r-- | spec/services/protected_branches/cache_service_spec.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/spec/services/protected_branches/cache_service_spec.rb b/spec/services/protected_branches/cache_service_spec.rb index 4fa7553c23d..00d1e8b5457 100644 --- a/spec/services/protected_branches/cache_service_spec.rb +++ b/spec/services/protected_branches/cache_service_spec.rb @@ -75,10 +75,12 @@ RSpec.describe ProtectedBranches::CacheService, :clean_gitlab_redis_cache do expect(service.fetch('main', dry_run: true) { true }).to eq(true) expect(Gitlab::AppLogger).to receive(:error).with( - 'class' => described_class.name, - 'message' => /Cache mismatch/, - 'project_id' => project.id, - 'project_path' => project.full_path + { + 'class' => described_class.name, + 'message' => /Cache mismatch/, + 'project_id' => project.id, + 'project_path' => project.full_path + } ) expect(service.fetch('main', dry_run: true) { false }).to eq(false) |