Class: RuboCop::Cop::Minitest::AssertKindOf
- Inherits:
-
Base
- Object
- Base
- RuboCop::Cop::Minitest::AssertKindOf
- Extended by:
- RuboCop::Cop::MinitestCopRule
- Defined in:
- lib/rubocop/cop/minitest/assert_kind_of.rb
Overview
Enforces the test to use ‘assert_kind_of(Class, object)` over `assert(object.kind_of?(Class))`.