[devtools] sync
This commit is contained in:
parent
1f653cd823
commit
ea92b5731b
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue