config/default.yml in rubocop-minitest-0.21.1 vs config/default.yml in rubocop-minitest-0.22.0
- old
+ new
@@ -80,9 +80,14 @@
Minitest/AssertRaisesCompoundBody:
Description: 'This cop enforces the block body of `assert_raises { ... }` to be reduced to only the raising code.'
Enabled: pending
VersionAdded: '0.21'
+Minitest/AssertRaisesWithRegexpArgument:
+ Description: 'This cop enforces checks for regular expression literals passed to `assert_raises`.'
+ Enabled: pending
+ VersionAdded: '0.22'
+
Minitest/AssertRespondTo:
Description: 'This cop enforces the test to use `assert_respond_to(object, :do_something)` over `assert(object.respond_to?(:do_something))`.'
StyleGuide: 'https://minitest.rubystyle.guide#assert-responds-to-method'
Enabled: true
VersionAdded: '0.3'