Browse Source

Apply Rubocop Style/ExpandPathArguments (#23450)

closed-social-glitch-2
Nick Schonning 1 year ago
committed by GitHub
parent
commit
1487fcde93
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      config.ru
  2. +1
    -1
      spec/rails_helper.rb

+ 1
- 1
config.ru View File

@ -1,5 +1,5 @@
# frozen_string_literal: true
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
require ::File.expand_path('config/environment', __dir__)
run Rails.application

+ 1
- 1
spec/rails_helper.rb View File

@ -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?

Loading…
Cancel
Save