]> git.openstreetmap.org Git - rails.git/blob - config/environments/test.rb
802a77744768c66b5d6a84a74d691dc64a064ba9
[rails.git] / config / environments / test.rb
1 OpenStreetMap::Application.configure do
2   # Settings specified here will take precedence over those in config/application.rb
3
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
9
10   # Log error messages when you accidentally call methods on nil.
11   config.whiny_nils = true
12
13   # Show full error reports and disable caching
14   config.consider_all_requests_local       = true
15   config.action_controller.perform_caching = false
16
17   # Raise exceptions instead of rendering exception templates
18   config.action_dispatch.show_exceptions = false
19
20   # Disable request forgery protection in test environment
21   config.action_controller.allow_forgery_protection    = false
22
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
27
28   # Print deprecation notices to the stderr
29   config.active_support.deprecation = :stderr
30 end