No need to disable rate limiter after running tests (#13093)

We disable rate limiter before running every test here 90ab3b1c75/spec/rails_helper.rb (L109-L109)
This commit is contained in:
Andrei Prigorshnev
2021-05-19 16:04:35 +04:00
committed by GitHub
parent 9e4288a4ab
commit 075cd07a07
11 changed files with 0 additions and 37 deletions

View File

@ -178,10 +178,6 @@ describe Middleware::AnonymousCache do
RateLimiter.enable
end
after do
RateLimiter.disable
end
it 'will revert to anonymous once we reach the limit' do
RateLimiter.clear_all!