Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit f57b20c

Browse files
committed
fixup! Add max_formatted_output_length to project initializer
1 parent 2ef711b commit f57b20c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/rspec/core/project_initializer/spec/spec_helper.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
# assertion/expectation library such as wrong or minitest
1919
# assertions if you prefer.
2020
config.expect_with :rspec do |expectations|
21+
# 200 is the default value. You may want to increase it to make the
22+
# output more verbose.
23+
expectations.max_formatted_output_length = 200
2124
end
2225

2326
# rspec-mocks config goes here. You can use an alternate test double

0 commit comments

Comments
 (0)