Skip to content

Commit

Permalink
Attempt to fix issue on Rails 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Oct 14, 2023
1 parent b71e7d0 commit 56a7c20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rspec-rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class Railtie < ::Rails::Railtie
generators.test_framework :rspec

generators do
require 'rails/generators'
::Rails::Generators.hidden_namespaces.reject! { |namespace| namespace.to_s.start_with?("rspec") }
end

Expand Down

0 comments on commit 56a7c20

Please sign in to comment.