spec/dummy/config/environment.rb in doorkeeper-5.0.0 vs spec/dummy/config/environment.rb in doorkeeper-5.0.1
- old
+ new
@@ -1,5 +1,5 @@
# Load the rails application
-require File.expand_path('../application', __FILE__)
+require File.expand_path('application', __dir__)
# Initialize the rails application
Rails.application.initialize!