Skip to content

Commit

Permalink
Fix fixtures_path deprecation
Browse files Browse the repository at this point in the history
With Rails 7.1.2, configuring `fixture_path` has been deprecated in
favor of using an aray of `fixture_paths`.
  • Loading branch information
Stefanni Brasil committed Dec 26, 2023
1 parent daf6ccb commit decfda2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
config.fixture_path = "spec/fixtures"
config.fixture_paths = ["spec/fixtures"]
config.infer_spec_type_from_file_location!

config.mock_with :rspec
Expand Down

0 comments on commit decfda2

Please sign in to comment.