class RuboCop::Cop::RSpec::RedundantPredicateMatcher

Checks for redundant predicate matcher.

@example

# bad
expect(foo).to be_exist(bar)
expect(foo).not_to be_include(bar)
expect(foo).to be_all(bar)

# good
expect(foo).to exist(bar)
expect(foo).not_to include(bar)
expect(foo).to all be(bar)