aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2007-09-28 16:08:42 +0000
committerRick Olson <technoweenie@gmail.com>2007-09-28 16:08:42 +0000
commit03f318718e460a553062a2bff4507c8c80725304 (patch)
tree930b640261c9dd531ee3048c6c7ae98704c0a932 /railties/environments
parent5edc81dcc2e13bdce3da01745b0d1af654342aad (diff)
downloadrails-03f318718e460a553062a2bff4507c8c80725304.tar.gz
rails-03f318718e460a553062a2bff4507c8c80725304.tar.bz2
rails-03f318718e460a553062a2bff4507c8c80725304.zip
[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
Diffstat (limited to 'railties/environments')
-rw-r--r--railties/environments/test.rb3
1 files changed, 3 insertions, 0 deletions
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.