Merge remote-tracking branch 'parent/stable-4.2' into kb-draft-5.18-lts
This commit is contained in:
commit
6ba77a9feb
20 changed files with 282 additions and 108 deletions
|
@ -33,6 +33,12 @@ RSpec.configure do |config|
|
|||
config.before :suite do
|
||||
Rails.application.load_seed
|
||||
Chewy.strategy(:bypass)
|
||||
|
||||
# NOTE: we switched registrations mode to closed by default, but the specs
|
||||
# very heavily rely on having it enabled by default, as it relies on users
|
||||
# being approved by default except in select cases where explicitly testing
|
||||
# other registration modes
|
||||
Setting.registrations_mode = 'open'
|
||||
end
|
||||
|
||||
config.after :suite do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue