about summary refs log tree commit diff
path: root/spec/rails_helper.rb
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-08 01:06:20 -0500
committerGitHub <noreply@github.com>2023-02-08 07:06:20 +0100
commit1487fcde93fece43ea786faade93d3dfaa393e67 (patch)
tree9d70fcbb318020a33c9bfbbe281b9e889a0e4eec /spec/rails_helper.rb
parentd3f59f52c33e67e3beec2a6b65cccc86352a1468 (diff)
Apply Rubocop Style/ExpandPathArguments (#23450)
Diffstat (limited to 'spec/rails_helper.rb')
-rw-r--r--spec/rails_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index 02827a388..c197bc007 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -1,5 +1,5 @@
 ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
+require File.expand_path('../config/environment', __dir__)
 
 abort("The Rails environment is running in production mode!") if Rails.env.production?