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:
commit
e7b045eada
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue