Fix 2.4.2 upgrade notes formatting refs #19330
[arvados.git] / apps / workbench / config / environments / test.rb.example
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 ArvadosWorkbench::Application.configure do
6   # Settings specified here will take precedence over those in config/application.rb
7
8   # The test environment is used exclusively to run your application's
9   # test suite. You never need to work with it otherwise. Remember that
10   # your test database is "scratch space" for the test suite and is wiped
11   # and recreated between test runs. Don't rely on the data there!
12   config.cache_classes = true
13
14   # Configure static asset server for tests with Cache-Control for performance
15   config.public_file_server.enabled = true
16   config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
17
18   # Show full error reports and disable caching
19   config.consider_all_requests_local       = true
20   config.action_controller.perform_caching = false
21
22   # Raise exceptions instead of rendering exception templates
23   config.action_dispatch.show_exceptions = false
24
25   # Disable request forgery protection in test environment
26   config.action_controller.allow_forgery_protection    = false
27
28   # Tell Action Mailer not to deliver emails to the real world.
29   # The :test delivery method accumulates sent emails in the
30   # ActionMailer::Base.deliveries array.
31   config.action_mailer.delivery_method = :test
32
33   # Print deprecation notices to the stderr
34   config.active_support.deprecation = :stderr
35
36   # Log timing data for API transactions
37   config.profiling_enabled = false
38
39   # Can be :random or :sorted. Rails 5 will use :random by default
40   config.active_support.test_order = :sorted
41
42 end