mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 13:43:16 +08: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:
parent
caffcf3a9a
commit
c37c00e9d8
|
@ -232,6 +232,8 @@ RSpec.configure do |config|
|
||||||
# rspec-rails.
|
# rspec-rails.
|
||||||
config.infer_base_class_for_anonymous_controllers = true
|
config.infer_base_class_for_anonymous_controllers = true
|
||||||
|
|
||||||
|
config.full_cause_backtrace = true
|
||||||
|
|
||||||
config.before(:suite) do
|
config.before(:suite) do
|
||||||
CachedCounting.disable
|
CachedCounting.disable
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user