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 a4e43c2 commit 5790f1e
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 @@ -36,7 +36,7 @@

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
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|
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
Expand Down

0 comments on commit 5790f1e

Please sign in to comment.