Resolve fixture_path deprecation warning in Rails 7.1

This commit is contained in:
Sebastian Serth
2024-02-14 16:05:02 +01:00
committed by Dominic Sauer
parent 790186a1a1
commit 7356136203

View File

@ -32,7 +32,7 @@ ActiveRecord::Migration.maintain_test_schema!
RSpec.configure do |config|
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
config.fixture_path = Rails.root.join('spec/fixtures')
config.fixture_paths = [Rails.root.join('spec/fixtures')]
# RSpec Rails can automatically mix in different behaviours to your tests
# based on their file location, for example enabling you to call `get` and