DEV: Fix heisentest

This commit is contained in:
Gerhard Schlager 2020-09-30 17:04:19 +02:00 committed by Gerhard Schlager
parent ff44515a18
commit f5c4594f6d

View File

@ -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