diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d073f5..d875e6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- Remove unused `require "axe-capybara"` statement + + *Sean Doyle* + - Drop support for [End of Life version 2.7](https://www.ruby-lang.org/en/downloads/branches/) *Sean Doyle* diff --git a/capybara_accessibility_audit.gemspec b/capybara_accessibility_audit.gemspec index 641ccde..ca2773e 100644 --- a/capybara_accessibility_audit.gemspec +++ b/capybara_accessibility_audit.gemspec @@ -21,6 +21,6 @@ Gem::Specification.new do |spec| spec.add_dependency "rails", ">= 6.1" spec.add_dependency "capybara" - spec.add_dependency "axe-core-capybara" + spec.add_dependency "axe-core-api" spec.add_dependency "zeitwerk" end diff --git a/lib/capybara_accessibility_audit/audit_system_test_extensions.rb b/lib/capybara_accessibility_audit/audit_system_test_extensions.rb index 2c6127a..9624e59 100644 --- a/lib/capybara_accessibility_audit/audit_system_test_extensions.rb +++ b/lib/capybara_accessibility_audit/audit_system_test_extensions.rb @@ -1,4 +1,3 @@ -require "axe-capybara" require "axe/matchers/be_axe_clean" module CapybaraAccessibilityAudit