config/default.yml in rubocop-minitest-0.14.0 vs config/default.yml in rubocop-minitest-0.15.0
- old
+ new
@@ -57,11 +57,11 @@
StyleGuide: 'https://github.com/rubocop/minitest-style-guide#assert-kind-of'
Enabled: 'pending'
VersionAdded: '0.10'
Minitest/AssertNil:
- Description: 'This cop enforces the test to use `assert_nil` instead of using `assert_equal(nil, something)`.'
+ 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/AssertOutput:
@@ -170,10 +170,10 @@
StyleGuide: 'https://github.com/rubocop/minitest-style-guide#refute-kind-of'
Enabled: 'pending'
VersionAdded: '0.10'
Minitest/RefuteNil:
- Description: 'This cop enforces the test to use `refute_nil` instead of using `refute_equal(nil, something)`.'
+ 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/RefutePathExists: