summaryrefslogtreecommitdiffstats
path: root/config/environments/test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-05-09 13:58:59 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-05-09 13:58:59 +0000
commit678469cf092b2ffbf001605ac851dc8c9fce7d95 (patch)
tree22331aefa15b8d7ae0ecaf3dc62d31eaa3b502bd /config/environments/test.rb
parent11746c44f84ea1e244322c43fd20fec263ca6805 (diff)
downloadredmine-678469cf092b2ffbf001605ac851dc8c9fce7d95.tar.gz
redmine-678469cf092b2ffbf001605ac851dc8c9fce7d95.zip
additional comment at config/environments/test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9660 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/environments/test.rb')
-rw-r--r--config/environments/test.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb
index 785586f7d..b4696385e 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -14,9 +14,14 @@ RedmineApp::Application.configure do
config.action_controller.perform_caching = false
config.action_mailer.perform_deliveries = true
+
+ # Tell Action Mailer 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
- # Skip protect_from_forgery in requests http://m.onkey.org/2007/9/28/csrf-protection-for-your-existing-rails-application
+ # Skip protect_from_forgery in requests
+ # http://m.onkey.org/2007/9/28/csrf-protection-for-your-existing-rails-application
config.action_controller.allow_forgery_protection = false
config.active_support.deprecation = :log