class Axe::InaccessibleExpectation

Public Instance Methods

assert(page, matcher) click to toggle source
# File lib/axe/expectation.rb, line 9
def assert(page, matcher)
  raise matcher.failure_message_when_negated if matcher.matches? page
end