Skip to content

Commit

Permalink
Combine scattered config
Browse files Browse the repository at this point in the history
  • Loading branch information
pirj committed Aug 2, 2020
1 parent e790841 commit 9d6986f
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 9d6986f

Please sign in to comment.