Class: Pundit::Matchers::BaseMatcher

Inherits:
Object
  • Object
show all
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.

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