This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
lib/rspec/core/project_initializer/spec Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 18
18
# assertion/expectation library such as wrong or minitest
19
19
# assertions if you prefer.
20
20
config . expect_with :rspec do |expectations |
21
- # This option will default to `true` in RSpec 4. It makes the `description`
22
- # and `failure_message` of custom matchers include text for helper methods
23
- # defined using `chain`, e.g.:
24
- # be_bigger_than(2).and_smaller_than(4).description
25
- # # => "be bigger than 2 and smaller than 4"
26
- # ...rather than:
27
- # # => "be bigger than 2"
28
- expectations . include_chain_clauses_in_custom_matcher_descriptions = true
21
+ # The default output length is 200, you can increase it to make the
22
+ # output more verbose, or decrease it to make it more concise.
23
+ expectations . max_formatted_output_length = 200
29
24
end
30
25
31
26
# rspec-mocks config goes here. You can use an alternate test double
Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ def handle_current_dir_change
80
80
c . include CommonHelpers
81
81
82
82
c . expect_with :rspec do |expectations |
83
- expectations . include_chain_clauses_in_custom_matcher_descriptions = true
84
83
expectations . max_formatted_output_length = 1000
85
84
end
86
85
You can’t perform that action at this time.
0 commit comments