Sha256: a4c4f024e6e312bc8718adb47ebacbb363ac57c5d237f12a01610970d41c9f2f
Contents?: true
Size: 305 Bytes
Versions: 1
Compression:
Stored size: 305 Bytes
Contents
module Capybara::Accessible class Driver < Capybara::Selenium::Driver include Capybara::Accessible::Auditor def visit(path) super if audit_results.any? { |r| r['result'] == 'FAIL' } raise Capybara::Accessible::InaccessibleError, failure_messages end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capybara-accessible-0.0.2 | lib/capybara/accessible/driver.rb |