Method: BeAncestorOfMatcher#negative_failure_message

Defined in:
lib/extensions/mspec/mspec/matchers/be_ancestor_of.rb

#negative_failure_messageObject



15
16
17
# File 'lib/extensions/mspec/mspec/matchers/be_ancestor_of.rb', line 15

def negative_failure_message
  ["Expected #{@actual}", "not to be an ancestor of #{@expected}"]
end