We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4f415c commit 8f6a626Copy full SHA for 8f6a626
lib/generators/rspec/install/templates/spec/rails_helper.rb
@@ -36,6 +36,10 @@
36
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
37
<% if ::Rails::VERSION::STRING < "7.1.0" -%>
38
config.fixture_path = Rails.root.join('spec/fixtures')
39
+ # Starting with Rails 7.1, use this instead:
40
+ # config.fixture_paths = [
41
+ # Rails.root.join('spec/fixtures')
42
+ # ]
43
<% else -%>
44
config.fixture_paths = [
45
Rails.root.join('spec/fixtures')
0 commit comments