config/default.yml in rubocop-minitest-0.26.1 vs config/default.yml in rubocop-minitest-0.27.0
- old
+ new
@@ -109,13 +109,13 @@
Minitest/AssertTruthy:
Description: 'This cop enforces the test to use `assert(actual)` instead of using `assert_equal(true, actual)`.'
StyleGuide: 'https://minitest.rubystyle.guide#assert-truthy'
Enabled: true
- SafeAutoCorrect: false
+ Safe: false
VersionAdded: '0.2'
- VersionChanged: '0.26'
+ VersionChanged: '0.27'
Minitest/AssertWithExpectedArgument:
Description: 'This cop tries to detect when a user accidentally used `assert` when they meant to use `assert_equal`.'
Enabled: pending
Severity: warning
@@ -173,10 +173,16 @@
Minitest/NoAssertions:
Description: 'This cop checks for at least one assertion (or flunk) in tests.'
Enabled: false
VersionAdded: '0.12'
+Minitest/NonPublicTestMethod:
+ Description: 'Detects non `public` (marked as `private` or `protected`) test methods.'
+ Enabled: pending
+ Severity: warning
+ VersionAdded: '0.27'
+
Minitest/RefuteEmpty:
Description: 'This cop enforces to use `refute_empty` instead of using `refute(object.empty?)`.'
StyleGuide: 'https://minitest.rubystyle.guide#refute-empty'
Enabled: true
VersionAdded: '0.3'
@@ -189,10 +195,12 @@
Minitest/RefuteFalse:
Description: 'Check if your test uses `refute(actual)` instead of `assert_equal(false, actual)`.'
StyleGuide: 'https://minitest.rubystyle.guide#refute-false'
Enabled: true
+ Safe: false
VersionAdded: '0.3'
+ VersionChanged: '0.27'
Minitest/RefuteInDelta:
Description: 'This cop enforces the test to use `refute_in_delta` instead of using `refute_equal` to compare floats.'
StyleGuide: 'https://minitest.rubystyle.guide/#refute-in-delta'
Enabled: 'pending'