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:
parent
9e4288a4ab
commit
075cd07a07
11 changed files with 0 additions and 37 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue