]> source.dussan.org Git - redmine.git/commitdiff
additional comment at config/environments/test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 9 May 2012 13:58:59 +0000 (13:58 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 9 May 2012 13:58:59 +0000 (13:58 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9660 e93f8b46-1217-0410-a6f0-8f06a7374b81

config/environments/test.rb

index 785586f7daac86f75ea6ba98e1739e8049eeaf94..b4696385ef18c031a48f8dc8b39ae16415669cb2 100644 (file)
@@ -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