]> git.openstreetmap.org Git - rails.git/blobdiff - config/environment.rb
Refactor diary entry tests to use User factory
[rails.git] / config / environment.rb
index b958021e8fe587a1b8f04c1f8640d5c71e99d9d4..171198560fcd3affff765799a1cfb64c32089fee 100644 (file)
@@ -1,5 +1,5 @@
-# Load the rails application
-require File.expand_path('../application', __FILE__)
+# Load the Rails application.
+require File.expand_path("../application", __FILE__)
 
-# Initialize the rails application
-OpenStreetMap::Application.initialize!
+# Initialize the Rails application.
+Rails.application.initialize!