Module: RuboCop::Cop::Workit::RSpecExplicitHelp
- Extended by:
- NodePattern::Macros
- Includes:
- RSpec::Language
- Included in:
- RSpecPredicateMatcherBase
- Defined in:
- lib/rubocop/cop/workit/mixin/rspec_explicit_help.rb
Overview
A helper for ‘explicit` style
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