]> git.openstreetmap.org Git - rails.git/blobdiff - config/environments/test.rb
adds a temporary old_node object for use during migration
[rails.git] / config / environments / test.rb
index f0689b924bf935c9ca8cb91c578f2cba521e250c..58850a7974fb92dbc7d7cf637466499c8b5dbd1a 100644 (file)
@@ -13,7 +13,10 @@ config.whiny_nils = true
 config.action_controller.consider_all_requests_local = true
 config.action_controller.perform_caching             = false
 
+# Disable request forgery protection in test environment
+config.action_controller.allow_forgery_protection    = false
+
 # Tell ActionMailer not to deliver emails to the real world.
 # The :test delivery method accumulates sent emails in the
 # ActionMailer::Base.deliveries array.
-config.action_mailer.delivery_method = :test
\ No newline at end of file
+config.action_mailer.delivery_method = :test