Skip to content

Commit

Permalink
Rubocop autocorrect Rails/RootPathnameMethods offense
Browse files Browse the repository at this point in the history
  • Loading branch information
corylown committed Aug 26, 2024
1 parent 86c07b2 commit 2dc7358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# directory. Alternatively, in the individual `*_spec.rb` files, manually
# require only the support files necessary.
#
Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
Rails.root.glob('spec/support/**/*.rb').each { |f| require f }

# Checks for pending migrations and applies them before tests are run.
# If you are not using ActiveRecord, you can remove this line.
Expand Down

0 comments on commit 2dc7358

Please sign in to comment.