spec/dummy/config/environment.rb in enju_circulation-0.2.5 vs spec/dummy/config/environment.rb in enju_circulation-0.3.0.beta.1
- old
+ new
@@ -1,5 +1,5 @@
-# Load the rails application
-require File.expand_path('../application', __FILE__)
+# Load the Rails application.
+require_relative 'application'
-# Initialize the rails application
-Dummy::Application.initialize!
+# Initialize the Rails application.
+Rails.application.initialize!