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
This commit is contained in:
Yorick Peterse 2016-12-07 17:45:09 +00:00
commit e7b045eada
1 changed files with 2 additions and 2 deletions

View File

@ -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