Class: Pundit::Matchers::BaseMatcher
- Inherits:
-
Object
- Object
- Pundit::Matchers::BaseMatcher
- Includes:
- RSpec::Matchers::Composable
- Defined in:
- lib/pundit/matchers/base_matcher.rb
Overview
This is the base class for all matchers in the Pundit Matchers library.
Direct Known Subclasses
ActionsMatcher, AttributesMatcher, ForbidAllActionsMatcher, PermitAllActionsMatcher
Constant Summary collapse
- AMBIGUOUS_NEGATED_MATCHER_ERROR =
Error message when an ambiguous negated matcher is used.
<<~MSG `expect().not_to %<name>s` is not supported since it creates ambiguity. MSG