Commit e7b045ea authored by Yorick Peterse's avatar Yorick Peterse

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
parents 76b35f46 dec384cf
...@@ -1176,7 +1176,7 @@ describe Repository, models: true do ...@@ -1176,7 +1176,7 @@ describe Repository, models: true do
end end
describe '#after_create_branch' do 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) expect(repository).to receive(:expire_branches_cache)
repository.after_create_branch repository.after_create_branch
...@@ -1184,7 +1184,7 @@ describe Repository, models: true do ...@@ -1184,7 +1184,7 @@ describe Repository, models: true do
end end
describe '#after_remove_branch' do 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) expect(repository).to receive(:expire_branches_cache)
repository.after_remove_branch repository.after_remove_branch
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment