Update rspec fixture path config to silence deprecation warning (#28018)

shrike
Matt Jankowski 2023-11-21 10:51:40 -05:00 committed by GitHub
parent 30ee4aaff4
commit 67fd3187b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -60,7 +60,9 @@ RSpec.configure do |config|
# By default, skip the elastic search integration specs # By default, skip the elastic search integration specs
config.filter_run_excluding search: true config.filter_run_excluding search: true
config.fixture_path = Rails.root.join('spec', 'fixtures') config.fixture_paths = [
Rails.root.join('spec', 'fixtures'),
]
config.use_transactional_fixtures = true config.use_transactional_fixtures = true
config.order = 'random' config.order = 'random'
config.infer_spec_type_from_file_location! config.infer_spec_type_from_file_location!