Skip to content

Commit 2c1e556

Browse files
committed
Fix 'Rails 7.1 has deprecated the singular fixture_path'
Rails 7.1 has deprecated the singular fixture_path in favour of an array.You should migrate to plural
1 parent ad43fd6 commit 2c1e556

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
@@ -32,7 +32,7 @@
3232
Dir[ManageIQ::UI::Classic::Engine.root.join('spec/shared/**/*.rb')].each { |f| require f }
3333

3434
RSpec.configure do |config|
35-
config.fixture_path = Rails.root.join("spec/fixtures")
35+
config.fixture_paths = [Rails.root.join("spec/fixtures")]
3636
config.use_transactional_fixtures = true
3737
config.use_instantiated_fixtures = false
3838

0 commit comments

Comments
 (0)