class RuboCop::Cop::RSpec::ImplicitExpect

Check that a consistent implicit expectation style is used.

This cop can be configured using the ‘EnforcedStyle` option and supports the `–auto-gen-config` flag.

@example ‘EnforcedStyle: is_expected` (default)

# bad
it { should be_truthy }

# good
it { is_expected.to be_truthy }

@example ‘EnforcedStyle: should`

# bad
it { is_expected.to be_truthy }

# good
it { should be_truthy }