summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2016-12-07 11:31:01 +0100
committerYorick Peterse <yorickpeterse@gmail.com>2016-12-07 11:31:01 +0100
commitdec384cf23787e156eac8d633f70fb40479a5283 (patch)
tree64ff4d1a3bb4ee736659bf68950cc0e4ab741dee
parent9f8a389ac6c2065e8b4fdf174af18c93ba398d25 (diff)
downloadgitlab-ce-fix-visible-content-spec-message.tar.gz
Update outdated visible content spec descriptionsfix-visible-content-spec-message
-rw-r--r--spec/models/repository_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/repository_spec.rb b/spec/models/repository_spec.rb
index d9b0e63eeb6..b5a42edd192 100644
--- a/spec/models/repository_spec.rb
+++ b/spec/models/repository_spec.rb
@@ -1176,7 +1176,7 @@ describe Repository, models: true do
end
describe '#after_create_branch' do
- it 'flushes the visible content cache' do
+ it 'expires the branch caches' do
expect(repository).to receive(:expire_branches_cache)
repository.after_create_branch
@@ -1184,7 +1184,7 @@ describe Repository, models: true do
end
describe '#after_remove_branch' do
- it 'flushes the visible content cache' do
+ it 'expires the branch caches' do
expect(repository).to receive(:expire_branches_cache)
repository.after_remove_branch