projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refs #13667 "Merge branch '13667-add-version-file'".
[arvados.git]
/
apps
/
workbench
/
config
/
environments
/
test.rb.example
diff --git
a/apps/workbench/config/environments/test.rb.example
b/apps/workbench/config/environments/test.rb.example
index fd034d3185da7ce657cc46984b33fcc4cf4bdb1b..7ce5082701274c0564dd3b22a73375a656fa08a5 100644
(file)
--- a/
apps/workbench/config/environments/test.rb.example
+++ b/
apps/workbench/config/environments/test.rb.example
@@
-1,3
+1,7
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
ArvadosWorkbench::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
ArvadosWorkbench::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
@@
-8,7
+12,7
@@
ArvadosWorkbench::Application.configure do
config.cache_classes = true
# Configure static asset server for tests with Cache-Control for performance
config.cache_classes = true
# Configure static asset server for tests with Cache-Control for performance
- config.serve_static_
asset
s = true
+ config.serve_static_
file
s = true
config.static_cache_control = "public, max-age=3600"
# Show full error reports and disable caching
config.static_cache_control = "public, max-age=3600"
# Show full error reports and disable caching
@@
-32,4
+36,7
@@
ArvadosWorkbench::Application.configure do
# Log timing data for API transactions
config.profiling_enabled = false
# Log timing data for API transactions
config.profiling_enabled = false
+ # Can be :random or :sorted. Rails 5 will use :random by default
+ config.active_support.test_order = :sorted
+
end
end