Commit 5f5503fb authored by Lin Jen-Shin's avatar Lin Jen-Shin
parent e2c01f39
......@@ -39,7 +39,9 @@ describe NotesHelper do
describe '#preload_max_access_for_authors' do
before do
RequestStore.clear! # make sure cache were cleared
# #preload_max_access_for_authors would read cache from RequestStore,
# so we should make sure it's clean.
RequestStore.clear!
end
it 'loads multiple users' do
......
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