Skip to content

Commit deb6c8b

Browse files
committed
Fix Rails 7.1 has deprecated the singular fixture_path in favour of an array.
1 parent ec15e53 commit deb6c8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
config.mock_with :rspec
3636

37-
config.fixture_path = "#{Rails.root}/spec/fixtures"
37+
config.fixture_paths = ["#{Rails.root}/spec/fixtures"]
3838

3939
# RSpec configuration options for Fat Free CRM.
4040
config.include RSpec::Rails::Matchers

0 commit comments

Comments
 (0)