Class: Axe::AccessibleExpectation
- Inherits:
-
Object
- Object
- Axe::AccessibleExpectation
- Defined in:
- lib/axe/expectation.rb
Instance Method Summary collapse
Instance Method Details
#assert(page, matcher) ⇒ Object
3 4 5 |
# File 'lib/axe/expectation.rb', line 3 def assert(page, matcher) raise matcher. unless matcher.matches? page end |