Skip to content

Commit

Permalink
Merge pull request #2352 from rspec/combine-config
Browse files Browse the repository at this point in the history
Combine scattered config
  • Loading branch information
pirj committed Jun 5, 2020
2 parents a9e3f18 + a18e334 commit 71c4364
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions spec/spec_helper.rb
Expand Up @@ -30,17 +30,14 @@ def self.run_all(reporter = nil)
RSpec.configure do |config|
config.expect_with :rspec do |expectations|
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
expectations.max_formatted_output_length = 1000
end

config.mock_with :rspec do |mocks|
mocks.verify_partial_doubles = true
mocks.verify_doubled_constant_names = true
end

config.expect_with :rspec do |c|
c.max_formatted_output_length = 1000
end

config.filter_run :focus
config.run_all_when_everything_filtered = true

Expand Down

0 comments on commit 71c4364

Please sign in to comment.