Resolve fixture_path deprecation warning in Rails 7.1
This commit is contained in:

committed by
Dominic Sauer

parent
790186a1a1
commit
7356136203
@ -32,7 +32,7 @@ ActiveRecord::Migration.maintain_test_schema!
|
|||||||
|
|
||||||
RSpec.configure do |config|
|
RSpec.configure do |config|
|
||||||
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
# 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
|
# RSpec Rails can automatically mix in different behaviours to your tests
|
||||||
# based on their file location, for example enabling you to call `get` and
|
# based on their file location, for example enabling you to call `get` and
|
||||||
|
Reference in New Issue
Block a user