missed a spec

This commit is contained in:
Sam 2018-01-15 14:51:04 +11:00
parent bf68d394f4
commit d9788a5fb3
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ RSpec.describe Admin::SearchLogsController do
let(:user) { Fabricate(:user) } let(:user) { Fabricate(:user) }
before do before do
SearchLog.clear_debounce_cache!
SearchLog.log(term: 'ruby', search_type: :header, ip_address: '127.0.0.1') SearchLog.log(term: 'ruby', search_type: :header, ip_address: '127.0.0.1')
end end