We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7e1bb4 + 50a2004 commit bc96bbdCopy full SHA for bc96bbd
spec/spec_helper.rb
@@ -38,7 +38,8 @@ def self.run_all(reporter = nil)
38
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
39
RSpec.configure do |config|
40
config.expect_with :rspec do |expectations|
41
- expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+ # include_chain_clauses_in_custom_matcher_descriptions is removed in RSpec Expectations 4
42
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true if expectations.respond_to?(:include_chain_clauses_in_custom_matcher_descriptions=)
43
expectations.max_formatted_output_length = 1000
44
end
45
0 commit comments