diff options
author | Rick Olson <technoweenie@gmail.com> | 2007-09-28 16:08:42 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2007-09-28 16:08:42 +0000 |
commit | 03f318718e460a553062a2bff4507c8c80725304 (patch) | |
tree | 930b640261c9dd531ee3048c6c7ae98704c0a932 /railties/environments | |
parent | 5edc81dcc2e13bdce3da01745b0d1af654342aad (diff) | |
download | rails-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.rb | 3 |
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. |