mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user