2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 09:10:25 +08:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 0 additions and 37 deletions

View file

@ -875,10 +875,6 @@ describe Category do
end
describe 'auto bump' do
after do
RateLimiter.disable
end
it 'should correctly automatically bump topics' do
freeze_time
category = Fabricate(:category_with_definition, created_at: 1.minute.ago)