mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06:00
have to clear debounce cache for tests
This commit is contained in:
parent
d9788a5fb3
commit
906f189914
@ -161,6 +161,10 @@ describe SearchController do
|
|||||||
end
|
end
|
||||||
|
|
||||||
context "#click" do
|
context "#click" do
|
||||||
|
before do
|
||||||
|
SearchLog.clear_debounce_cache!
|
||||||
|
end
|
||||||
|
|
||||||
it "doesn't work wthout the necessary parameters" do
|
it "doesn't work wthout the necessary parameters" do
|
||||||
expect do
|
expect do
|
||||||
post :click, format: :json
|
post :click, format: :json
|
||||||
|
Loading…
Reference in New Issue
Block a user