class Capybara::RSpecMatchers::NegatedMatcher
def description
def description "not #{@matcher.description}" end
def does_not_match?(actual)
def does_not_match?(actual) @matcher.matches?(actual) end
def failure_message
def failure_message @matcher.failure_message_when_negated end
def failure_message_when_negated
def failure_message_when_negated @matcher.failure_message end
def initialize(matcher)
def initialize(matcher) @matcher = matcher end
def matches?(actual)
def matches?(actual) @matcher.does_not_match?(actual) end