lib/rubocop/cop/minitest/assert_respond_to.rb in rubocop-minitest-0.19.1 vs lib/rubocop/cop/minitest/assert_respond_to.rb in rubocop-minitest-0.20.0

- old
+ new

@@ -1,10 +1,10 @@ # frozen_string_literal: true module RuboCop module Cop module Minitest - # This cop enforces the use of `assert_respond_to(object, :do_something)` + # Enforces the use of `assert_respond_to(object, :do_something)` # over `assert(object.respond_to?(:do_something))`. # # @example # # bad # assert(object.respond_to?(:do_something))