Skip to content

A platform for community discussion. Free, open, simple.

DEV: Run tests with default value for `max_consecutive_replies` (#6723)

David Taylor22001b3c50de
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index b3956cec056..13673195219 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -60,7 +60,6 @@ end
# let's not run seed_fu every test
SeedFu.quiet = true if SeedFu.respond_to? :quiet
-SiteSetting.max_consecutive_replies = 0
SiteSetting.automatically_download_gravatars = false
SeedFu.seed
@@ -163,9 +162,6 @@ RSpec.configure do |config|
# very expensive IO operations
SiteSetting.automatically_download_gravatars = false
- # it makes hard to test
- SiteSetting.max_consecutive_replies = 0
-
Discourse.clear_readonly!
Sidekiq::Worker.clear_all