Use fixture_paths instead of fixture_path

We were getting a warning since we upgraded to Rails 7.1:

> Rails 7.1 has deprecated the singular fixture_path in favour of an
> array.You should migrate to plural:
This commit is contained in:
Javi Martín
2024-04-15 23:41:50 +02:00
parent 24a77c6437
commit 321409ab0a

View File

@@ -10,7 +10,7 @@ Dir["./spec/shared/**/*.rb"].sort.each { |f| require f }
RSpec.configure do |config|
config.use_transactional_fixtures = true
config.fixture_path = "spec/fixtures/files"
config.fixture_paths = ["spec/fixtures/files"]
config.filter_run_when_matching :focus
config.include RequestSpecHelper, type: :request