DEV: Fix heisentest

DEV: Fix heisentest

diff --git a/spec/requests/application_controller_spec.rb b/spec/requests/application_controller_spec.rb
index c5a2aca..7808d23 100644
--- a/spec/requests/application_controller_spec.rb
+++ b/spec/requests/application_controller_spec.rb
@@ -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

GitHub sha: f5c4594f

This commit appears in #10789 which was approved by ZogStriP. It was merged by gschlager.