Class: Axe::InaccessibleExpectation

Inherits:
Object
  • Object
show all
Defined in:
lib/axe/expectation.rb

Instance Method Summary collapse

Instance Method Details

#assert(page, matcher) ⇒ Object



9
10
11
# File 'lib/axe/expectation.rb', line 9

def assert(page, matcher)
  raise matcher.failure_message_when_negated if matcher.matches? page
end