mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
DEV: Fix heisentest
This commit is contained in:
parent
ff44515a18
commit
f5c4594f6d
@ -658,7 +658,11 @@ RSpec.describe ApplicationController do
|
||||
end
|
||||
|
||||
context "with rate limits" do
|
||||
before { RateLimiter.enable }
|
||||
before do
|
||||
RateLimiter.clear_all!
|
||||
RateLimiter.enable
|
||||
end
|
||||
|
||||
after { RateLimiter.disable }
|
||||
|
||||
it "serves a LimitExceeded error in the preferred locale" do
|
||||
|
Loading…
Reference in New Issue
Block a user