diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 989c0c652a..be9aaac891 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -30,6 +30,7 @@ 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| @@ -37,10 +38,6 @@ def self.run_all(reporter = nil) 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