diff options
Diffstat (limited to 'config/environments/test.rb')
-rw-r--r-- | config/environments/test.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb index 315c0e576..c569af8cd 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -13,8 +13,8 @@ Alaveteli::Application.configure do config.whiny_nils = true # Show full error reports and disable caching - config.action_controller.consider_all_requests_local = true - config.action_controller.perform_caching = false + config.consider_all_requests_local = true + config.action_controller.perform_caching = false # Tell ActionMailer not to deliver emails to the real world. # The :test delivery method accumulates sent emails in the @@ -22,5 +22,8 @@ Alaveteli::Application.configure do config.action_mailer.delivery_method = :test # Disable request forgery protection in test environment - config.action_controller.allow_forgery_protection = false + config.action_controller.allow_forgery_protection = false + + # Print deprecation notices to the stderr + config.active_support.deprecation = :stderr end |