Let's make sure cache were cleared:

I can't reproduce this failure locally.
Here's the failure:
https://gitlab.com/gitlab-org/gitlab-ce/builds/2864250
This commit is contained in:
Lin Jen-Shin 2016-08-05 14:37:45 +08:00
parent f88d4523f3
commit 5607fdf9fe

View file

@ -38,6 +38,10 @@ describe NotesHelper do
end
describe '#preload_max_access_for_authors' do
before do
RequestStore.clear! # make sure cache were cleared
end
it 'loads multiple users' do
expected_access = {
owner.id => Gitlab::Access::OWNER,