[devtools] sync

This commit is contained in:
dry-bot 2020-09-26 15:19:01 +00:00
parent 1f653cd823
commit ea92b5731b
2 changed files with 17 additions and 1 deletions

View File

@ -5,6 +5,7 @@ AllCops:
Exclude:
- spec/support/coverage.rb
- spec/support/warnings.rb
- spec/support/rspec_options.rb
- Gemfile.devtools
- "*.gemspec"
@ -153,4 +154,3 @@ Style/TrailingUnderscoreVariable:
Style/MultipleComparison:
Enabled: false

View File

@ -0,0 +1,16 @@
RSpec.configure do |config|
# When no filter given, search and run focused tests
config.filter_run_when_matching :focus
# Disables rspec monkey patches (no reason for their existence tbh)
config.disable_monkey_patching!
# Run ruby in verbose mode
config.warnings = true
# Collect all failing expectations automatically,
# without calling aggregate_failures everywhere
config.define_derived_metadata do |meta|
meta[:aggregate_failures] = true
end
end