mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 23:21:11 +08:00
DEV: fix a flakey spec in slugs_controller (#20350)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user