config/default.yml in rubocop-minitest-0.19.1 vs config/default.yml in rubocop-minitest-0.20.0
- old
+ new
@@ -105,10 +105,11 @@
Enabled: 'pending'
VersionAdded: '0.10'
Minitest/DuplicateTestRun:
Description: 'This cop detects duplicate test runs caused by one test class inheriting from another.'
+ StyleGuide: 'https://minitest.rubystyle.guide/#subclassing-test-cases'
Enabled: pending
VersionAdded: '0.19'
Minitest/GlobalExpectations:
Description: 'This cop checks for deprecated global expectations.'
@@ -214,9 +215,14 @@
Minitest/RefuteRespondTo:
Description: 'This cop enforces the test to use `refute_respond_to(object, :do_something)` over `refute(object.respond_to?(:do_something))`.'
StyleGuide: 'https://minitest.rubystyle.guide#refute-respond-to'
Enabled: true
VersionAdded: '0.4'
+
+Minitest/SkipEnsure:
+ Description: 'Checks that `ensure` call even if `skip`.'
+ Enabled: pending
+ VersionAdded: '0.20'
Minitest/TestMethodName:
Description: 'This cop enforces that test method names start with `test_` prefix.'
Enabled: 'pending'
VersionAdded: '0.10'