1 UKPortal::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
33 # Print deprecation notices to the stderr
34 config.active_support.deprecation = :stderr