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

Commit 2ef711b

Browse files
committed
Remove include_chain_clauses_in_custom_matcher_descriptions
1 parent f3c07ba commit 2ef711b

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@
1818
# assertion/expectation library such as wrong or minitest
1919
# assertions if you prefer.
2020
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
2921
end
3022

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

spec/spec_helper.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ def handle_current_dir_change
8080
c.include CommonHelpers
8181

8282
c.expect_with :rspec do |expectations|
83-
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
8483
expectations.max_formatted_output_length = 1000
8584
end
8685

0 commit comments

Comments
 (0)