Autocorrect Rails/RootPathnameMethods

This commit is contained in:
Henne Vogelsang 2024-12-02 13:17:05 +01:00
parent a274940b5d
commit a447ad90c4
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6

View file

@ -35,7 +35,7 @@ include ERB::Util
# run twice. It is recommended that you do not name files matching this glob to
# end with _spec.rb. You can configure this pattern with with the --pattern
# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
Rails.root.glob('spec/support/**/*.rb').each { |f| require f }
RSpec.configure do |config|
# ## Mock Framework