spec/dummy/config/environment.rb in snake-eyes-1.0.0 vs spec/dummy/config/environment.rb in snake-eyes-2.0.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
# Load the Rails application.
-require File.expand_path('../application', __FILE__)
+require File.expand_path('application', __dir__)
# Initialize the Rails application.
Rails.application.initialize!