1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
5 ArvadosWorkbench::Application.configure do
6 # Settings specified here will take precedence over those in config/application.rb
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
14 # Configure static asset server for tests with Cache-Control for performance
15 config.serve_static_files = true
16 config.static_cache_control = "public, max-age=3600"
18 # Show full error reports and disable caching
19 config.consider_all_requests_local = true
20 config.action_controller.perform_caching = false
22 # Raise exceptions instead of rendering exception templates
23 config.action_dispatch.show_exceptions = false
25 # Disable request forgery protection in test environment
26 config.action_controller.allow_forgery_protection = false
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
33 # Print deprecation notices to the stderr
34 config.active_support.deprecation = :stderr
36 # Log timing data for API transactions
37 config.profiling_enabled = false
39 # Can be :random or :sorted. Rails 5 will use :random by default
40 config.active_support.test_order = :sorted