From c37c00e9d868fddcb724969ed0d3fb25532263b2 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Tue, 6 Feb 2024 10:56:49 +0000 Subject: [PATCH] DEV: Enable rspec `full_cause_backtrace` option (#25577) This new rspec option shows the entire backtrace in the '--- Caused by: ---' section of RSpec failures. --- spec/rails_helper.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index 0c3b752f7ca..a704932b909 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -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