module RSpec::Rails::Matchers::BaseMatcher::DefaultFailureMessages

def self.has_default_failure_messages?(matcher)

Other tags:
    Private: -
def self.has_default_failure_messages?(matcher)
  matcher.method(:failure_message).owner == self &&
    matcher.method(:failure_message_when_negated).owner == self
rescue NameError
  false
end