class Capybara::RSpecMatchers::Matchers::NegatedMatcher
def description
def description "not #{@matcher.description}" end
def does_not_match?(actual, &filter_block)
def does_not_match?(actual, &filter_block) @matcher.matches?(actual, &filter_block) 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) super() @matcher = matcher end
def matches?(actual, &filter_block)
def matches?(actual, &filter_block) @matcher.does_not_match?(actual, &filter_block) end