diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-08 01:06:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-08 07:06:20 +0100 |
commit | 1487fcde93fece43ea786faade93d3dfaa393e67 (patch) | |
tree | 9d70fcbb318020a33c9bfbbe281b9e889a0e4eec /spec | |
parent | d3f59f52c33e67e3beec2a6b65cccc86352a1468 (diff) |
Apply Rubocop Style/ExpandPathArguments (#23450)
Diffstat (limited to 'spec')
-rw-r--r-- | spec/rails_helper.rb | 2 |
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? |