diff options
author | francis <francis> | 2008-09-03 14:05:56 +0000 |
---|---|---|
committer | francis <francis> | 2008-09-03 14:05:56 +0000 |
commit | 3823e5cbc642d95a17fdb316736e7afe6334140c (patch) | |
tree | aaa186d9fc8fead8d777c78b98de87c02fc18ca2 /vendor/rails-2.1.0/railties/environments/test.rb | |
parent | af7a374ae63935168df2bbc02288f54f52c701a5 (diff) |
Rails 2.1.0
Diffstat (limited to 'vendor/rails-2.1.0/railties/environments/test.rb')
-rw-r--r-- | vendor/rails-2.1.0/railties/environments/test.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/rails-2.1.0/railties/environments/test.rb b/vendor/rails-2.1.0/railties/environments/test.rb new file mode 100644 index 000000000..1e709e1d1 --- /dev/null +++ b/vendor/rails-2.1.0/railties/environments/test.rb @@ -0,0 +1,22 @@ +# Settings specified here will take precedence over those in config/environment.rb + +# 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! +config.cache_classes = true + +# Log error messages when you accidentally call methods on nil. +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 + +# Disable request forgery protection in test environment +config.action_controller.allow_forgery_protection = false + +# 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 |