lib/pundit/matchers/base_matcher.rb in pundit-matchers-3.1.0 vs lib/pundit/matchers/base_matcher.rb in pundit-matchers-3.1.1

- old
+ new

@@ -4,9 +4,11 @@ module Pundit module Matchers # This is the base class for all matchers in the Pundit Matchers library. class BaseMatcher + include RSpec::Matchers::Composable + # Error message when an ambiguous negated matcher is used. AMBIGUOUS_NEGATED_MATCHER_ERROR = <<~MSG `expect().not_to %<name>s` is not supported since it creates ambiguity. MSG