class Axe::AccessibleExpectation

Public Instance Methods

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