diff options
author | Robert Speicher <robert@gitlab.com> | 2017-04-10 23:11:00 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-04-10 23:11:00 +0000 |
commit | 100f4370764f11ae9d235791f6d5a0f8a402d5b0 (patch) | |
tree | c032250bb6050943fc6ba5c67d5567e1c0544391 /spec | |
parent | 84da388d43d6cc0886b6722822d4e24d380e4a13 (diff) | |
parent | 9f8ae20fc4380a24968e2444561aaa3402110a35 (diff) | |
download | gitlab-ce-100f4370764f11ae9d235791f6d5a0f8a402d5b0.tar.gz |
Merge branch 'fix_cache_expiration_in_repository' into 'master'
Fix redundant cache expiration in Repository
Closes #30146
See merge request !10575
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/repository_spec.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/models/repository_spec.rb b/spec/models/repository_spec.rb index d805e65b3c6..8bd436558cb 100644 --- a/spec/models/repository_spec.rb +++ b/spec/models/repository_spec.rb @@ -1283,8 +1283,6 @@ describe Repository, models: true do describe '#after_import' do it 'flushes and builds the cache' do expect(repository).to receive(:expire_content_cache) - expect(repository).to receive(:expire_tags_cache) - expect(repository).to receive(:expire_branches_cache) repository.after_import end |