mirror of
https://github.com/discourse/discourse.git
synced 2026-07-29 15:54:48 -05: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.
|
# 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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user