DEV: fix a flakey spec in slugs_controller (#20350)

This commit is contained in:
Joffrey JAFFEUX
2023-02-17 18:56:25 +01:00
committed by GitHub
parent a945ca3e01
commit 052029b09b
2 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,8 @@ RSpec.describe "rate limiter integration" do
expect(response.cookies.has_key?(name)).to eq(true)
expect(response.cookies[name]).to be_nil
end
RateLimiter.clear_all!
end
it "can cleanly limit requests and sets a Retry-After header" do