manual/cops_minitest.md in rubocop-minitest-0.4.0 vs manual/cops_minitest.md in rubocop-minitest-0.4.1

- old
+ new

@@ -136,14 +136,16 @@ ```ruby # bad assert(object.respond_to?(:some_method)) assert(object.respond_to?(:some_method), 'the message') +assert(respond_to?(:some_method)) # good assert_respond_to(object, :some_method) assert_respond_to(object, :some_method, 'the message') +assert_respond_to(self, some_method) ``` ### References * [https://github.com/rubocop-hq/minitest-style-guide#assert-responds-to-method](https://github.com/rubocop-hq/minitest-style-guide#assert-responds-to-method) @@ -335,13 +337,15 @@ ```ruby # bad refute(object.respond_to?(:some_method)) refute(object.respond_to?(:some_method), 'the message') +refute(respond_to?(:some_method)) # good refute_respond_to(object, :some_method) refute_respond_to(object, :some_method, 'the message') +refute_respond_to(self, :some_method) ``` ### References * [https://github.com/rubocop-hq/minitest-style-guide#refute-respond-to](https://github.com/rubocop-hq/minitest-style-guide#refute-respond-to)