config/default.yml in rubocop-minitest-0.4.1 vs config/default.yml in rubocop-minitest-0.5.0
- old
+ new
@@ -7,9 +7,14 @@
Description: 'This cop enforces the test to use `assert_empty` instead of using `assert(object.empty?)`.'
StyleGuide: 'https://github.com/rubocop-hq/minitest-style-guide#assert-empty'
Enabled: true
VersionAdded: '0.2'
+Minitest/AssertEmptyLiteral:
+ Description: 'This cop enforces the test to use `assert_empty` instead of using `assert([], object)` or `assert({}, object)`.'
+ Enabled: true
+ VersionAdded: '0.5'
+
Minitest/AssertEqual:
Description: 'This cop enforces the test to use `assert_equal` instead of using `assert(expected == actual)`.'
StyleGuide: 'https://github.com/rubocop-hq/minitest-style-guide#assert-equal-arguments-order'
Enabled: true
VersionAdded: '0.4'