summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2016-12-07 17:45:09 +0000
committerYorick Peterse <yorickpeterse@gmail.com>2016-12-07 17:45:09 +0000
commite7b045eadaf315dc2ae4fc079af5d1199d3e5d25 (patch)
tree7b6154b2869e68ff8dcfdeee4d339e2bd6cb0d2c
parent76b35f465f2b48b6f53010635bc4a7767ea54821 (diff)
parentdec384cf23787e156eac8d633f70fb40479a5283 (diff)
downloadgitlab-ce-e7b045eadaf315dc2ae4fc079af5d1199d3e5d25.tar.gz
Merge branch 'fix-visible-content-spec-message' into 'master'
Update outdated visible content spec descriptions This fixes some spec descriptions that were not fixed in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7947. See merge request !7971
-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