Skip to content

Instantly share code, notes, and snippets.

@bengolder
Created February 9, 2018 17:15
Show Gist options
  • Save bengolder/157a208f58948f3da3755cb1fca08be6 to your computer and use it in GitHub Desktop.
Save bengolder/157a208f58948f3da3755cb1fca08be6 to your computer and use it in GitHub Desktop.
Axe matchers example
# Gemfile
group :test do
gem "axe-matchers"
end
# feature spec
RSpec.feature "Medicaid app" do
scenario "with maximum info", :js do
on_pages "Introduction" do
expect(page).to be_accessible
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment