config/default.yml in rubocop-minitest-0.31.1 vs config/default.yml in rubocop-minitest-0.32.0
- old
+ new
@@ -57,10 +57,16 @@
Description: 'This cop enforces the test to use `assert_nil` instead of using `assert_equal(nil, something)` or `assert(something.nil?)`.'
StyleGuide: 'https://minitest.rubystyle.guide#assert-nil'
Enabled: true
VersionAdded: '0.1'
+Minitest/AssertOperator:
+ Description: 'This cop enforces the use of `assert_operator(expected, :<, actual)` over `assert(expected < actual)`.'
+ StyleGuide: 'https://minitest.rubystyle.guide#assert-operator'
+ Enabled: pending
+ VersionAdded: '0.32'
+
Minitest/AssertOutput:
Description: 'This cop checks for opportunities to use `assert_output`.'
StyleGuide: 'https://minitest.rubystyle.guide/#assert-output'
Enabled: 'pending'
VersionAdded: '0.10'
@@ -245,9 +251,15 @@
Minitest/RefuteNil:
Description: 'This cop enforces the test to use `refute_nil` instead of using `refute_equal(nil, something)` or `refute(something.nil?)`.'
StyleGuide: 'https://minitest.rubystyle.guide#refute-nil'
Enabled: true
VersionAdded: '0.2'
+
+Minitest/RefuteOperator:
+ Description: 'This cop enforces the use of `refute_operator(expected, :<, actual)` over `refute(expected < actual)`.'
+ StyleGuide: 'https://minitest.rubystyle.guide#refute-operator'
+ Enabled: pending
+ VersionAdded: '0.32'
Minitest/RefutePathExists:
Description: 'This cop enforces the test to use `refute_path_exists` instead of using `refute(File.exist?(path))`.'
StyleGuide: 'https://minitest.rubystyle.guide/#refute-path-exists'
Enabled: 'pending'