config/default.yml in rubocop-minitest-0.1.0 vs config/default.yml in rubocop-minitest-0.2.0
- old
+ new
@@ -5,5 +5,29 @@
Minitest/AssertNil:
Description: 'Check if your test uses `assert_nil` instead of `assert_equal(nil, something)`.'
StyleGuide: 'https://github.com/rubocop-hq/minitest-style-guide#assert-nil'
Enabled: true
VersionAdded: '0.1'
+
+Minitest/AssertEmpty:
+ Description: 'Check if your test uses `assert_empty` instead of `assert(actual.empty?)`.'
+ StyleGuide: 'https://github.com/rubocop-hq/minitest-style-guide#assert-empty'
+ Enabled: true
+ VersionAdded: '0.2'
+
+Minitest/AssertIncludes:
+ Description: 'Check if your test uses `assert_includes` instead of `assert(collection.includes?(actual))`.'
+ StyleGuide: 'https://github.com/rubocop-hq/minitest-style-guide#assert-includes'
+ Enabled: true
+ VersionAdded: '0.2'
+
+Minitest/AssertTruthy:
+ Description: 'Check if your test uses `assert(actual)` instead of `assert_equal(true, actual)`.'
+ StyleGuide: 'https://github.com/rubocop-hq/minitest-style-guide#assert-truthy'
+ Enabled: true
+ VersionAdded: '0.2'
+
+Minitest/RefuteNil:
+ Description: 'Check if your test uses `refute_nil` instead of `refute_equal(nil, something)`.'
+ StyleGuide: 'https://github.com/rubocop-hq/minitest-style-guide#refute-nil'
+ Enabled: true
+ VersionAdded: '0.2'