FIX: change 'max_consecutive_replies' default to 3

This commit is contained in:
Régis Hanol 2018-11-14 22:58:05 +01:00
parent 6a990d4f95
commit 5852fe7975
2 changed files with 5 additions and 1 deletions

View File

@ -595,7 +595,7 @@ posting:
locale_default:
ja: true
max_consecutive_replies:
default: 0
default: 3
title_prettify:
default: true
locale_default:

View File

@ -60,6 +60,7 @@ 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
@ -162,6 +163,9 @@ 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