Module: RuboCop::Cop::RSpec::ExplicitHelper
- Extended by:
- NodePattern::Macros
- Includes:
- RSpec::Language
- Included in:
- PredicateMatcher
- Defined in:
- lib/rubocop/cop/rspec/predicate_matcher.rb
Overview
A helper for ‘explicit` style rubocop:disable Metrics/ModuleLength
Constant Summary collapse
- MSG_EXPLICIT =
'Prefer using `%<predicate_name>s` over ' \ '`%<matcher_name>s` matcher.'
- BUILT_IN_MATCHERS =
%w[ be_truthy be_falsey be_falsy have_attributes have_received be_between be_within ].freeze