diff options
author | Henare Degan <henare.degan@gmail.com> | 2012-12-10 16:12:57 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2012-12-11 11:09:40 +1100 |
commit | d8605d098c0d8517c1a1df39738f0fea0f6aa8db (patch) | |
tree | 98be3bcd593c518cfeab9910ad0e87c008bdaa56 /config/environments/test.rb | |
parent | 9d0295f1ebb1b8019c59ee48f86668a0e55b39ec (diff) |
Add some new Rails 3 settings and tidy up environments files
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 |