test_app/config/environment.rb in cupcakinator-1.1.2 vs test_app/config/environment.rb in cupcakinator-2.0.0
- old
+ new
@@ -1,5 +1,5 @@
# Load the Rails application.
-require File.expand_path('../application', __FILE__)
+require_relative 'application'
# Initialize the Rails application.
-TestApp::Application.initialize!
+Rails.application.initialize!