lib/pundit/matchers/base_matcher.rb in pundit-matchers-3.1.1 vs lib/pundit/matchers/base_matcher.rb in pundit-matchers-3.1.2
- old
+ new
@@ -4,10 +4,10 @@
module Pundit
module Matchers
# This is the base class for all matchers in the Pundit Matchers library.
class BaseMatcher
- include RSpec::Matchers::Composable
+ 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