Pattern: Missing use of refute_includes
Issue: -
Enforces the test to use refute_includes
instead of using refute(collection.include?(object))
.
# bad
refute(collection.include?(object))
refute(collection.include?(object), 'message')
# good
refute_includes(collection, object)
refute_includes(collection, object, 'message')