From 03f318718e460a553062a2bff4507c8c80725304 Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Fri, 28 Sep 2007 16:08:42 +0000 Subject: [7668] part deux (forgot to add the railties love to the mix) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/environments/test.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'railties') diff --git a/railties/environments/test.rb b/railties/environments/test.rb index bbca20a31b..58850a7974 100644 --- a/railties/environments/test.rb +++ b/railties/environments/test.rb @@ -13,6 +13,9 @@ 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. -- cgit v1.2.3