summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-08-20 06:02:05 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-08-20 06:02:05 +0000
commit3ac9d0d75e84f47c8a537fda81b4b9d221fd56f4 (patch)
tree9479acb0ccf3101aedf80d51dddccc777d801173 /config
parent9d50075279b55d35b4e6f8bb4c3e61a67a1de17d (diff)
downloadredmine-3ac9d0d75e84f47c8a537fda81b4b9d221fd56f4.tar.gz
redmine-3ac9d0d75e84f47c8a537fda81b4b9d221fd56f4.zip
Updates test environment config to mark assertionless tests as failed (#36320).
Patch by Takashi Kato (user:tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22962 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/environments/test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb
index ea6080ac7..dc6239ca4 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -77,4 +77,6 @@ Rails.application.configure do
# config.action_view.annotate_rendered_view_with_filenames = true
config.secret_key_base = 'a secret token for running the tests'
+
+ config.active_support.assertionless_tests_behavior = :raise
end