unicorn 4.3.1 - shutdown() fixes
[unicorn.git] / t / rails3-app / config / environments / test.rb
blob06816bcf2fb8e20f2bea29f659d01f7d26b56936
1 App::Application.configure do
2   # Settings specified here will take precedence over those in config/environment.rb
4   # The test environment is used exclusively to run your application's
5   # test suite.  You never need to work with it otherwise.  Remember that
6   # your test database is "scratch space" for the test suite and is wiped
7   # and recreated between test runs.  Don't rely on the data there!
8   config.cache_classes = true
10   # Log error messages when you accidentally call methods on nil.
11   config.whiny_nils = true
13   # Show full error reports and disable caching
14   config.consider_all_requests_local       = true
15   config.action_controller.perform_caching = false
17   # Raise exceptions instead of rendering exception templates
18   config.action_dispatch.show_exceptions = false
20   # Disable request forgery protection in test environment
21   config.action_controller.allow_forgery_protection    = false
23   # Tell Action Mailer not to deliver emails to the real world.
24   # The :test delivery method accumulates sent emails in the
25   # ActionMailer::Base.deliveries array.
26   config.action_mailer.delivery_method = :test
28   # Use SQL instead of Active Record's schema dumper when creating the test database.
29   # This is necessary if your schema can't be completely dumped by the schema dumper,
30   # like if you have constraints or database-specific column types
31   # config.active_record.schema_format = :sql
32 end