DEV: Enable rspec `full_cause_backtrace` option (#25577)

This new rspec option shows the entire backtrace in the '--- Caused by: ---' section of RSpec failures.
This commit is contained in:
David Taylor 2024-02-06 10:56:49 +00:00 committed by GitHub
parent caffcf3a9a
commit c37c00e9d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -232,6 +232,8 @@ RSpec.configure do |config|
# rspec-rails.
config.infer_base_class_for_anonymous_controllers = true
config.full_cause_backtrace = true
config.before(:suite) do
CachedCounting.disable