Class: RuboCop::Cop::Minitest::AssertIncludes
- Inherits:
-
Base
- Object
- Base
- RuboCop::Cop::Minitest::AssertIncludes
- Extended by:
- RuboCop::Cop::MinitestCopRule
- Defined in:
- lib/rubocop/cop/minitest/assert_includes.rb
Overview
Enforces the test to use ‘assert_includes` instead of using `assert(collection.include?(object))`.