2005-11-09 03:37:17 -05:00
|
|
|
# Settings specified here will take precedence over those in config/environment.rb
|
|
|
|
|
2005-07-08 17:13:29 -04:00
|
|
|
# The test environment is used exclusively to run your application's
|
|
|
|
# test suite. You never need to work with it otherwise. Remember that
|
|
|
|
# your test database is "scratch space" for the test suite and is wiped
|
|
|
|
# and recreated between test runs. Don't rely on the data there!
|
2005-09-13 06:07:37 -04:00
|
|
|
config.cache_classes = true
|
2005-07-08 17:13:29 -04:00
|
|
|
|
|
|
|
# Log error messages when you accidentally call methods on nil.
|
2006-03-20 01:13:26 -05:00
|
|
|
config.whiny_nils = true
|
2005-06-18 01:34:16 -04:00
|
|
|
|
2005-09-13 06:07:37 -04:00
|
|
|
# Show full error reports and disable caching
|
|
|
|
config.action_controller.consider_all_requests_local = true
|
|
|
|
config.action_controller.perform_caching = false
|
2005-07-08 17:13:29 -04:00
|
|
|
|
2007-09-28 12:08:42 -04:00
|
|
|
# Disable request forgery protection in test environment
|
|
|
|
config.action_controller.allow_forgery_protection = false
|
|
|
|
|
2008-05-25 07:29:00 -04:00
|
|
|
# Tell Action Mailer not to deliver emails to the real world.
|
2005-07-08 17:13:29 -04:00
|
|
|
# The :test delivery method accumulates sent emails in the
|
|
|
|
# ActionMailer::Base.deliveries array.
|
2007-05-27 14:44:33 -04:00
|
|
|
config.action_mailer.delivery_method = :test
|