Sha256: 018a2a593e4e8b39a92540e7215fdb7ef5aa466514b760b7072c79cb64199009

Contents?: true

Size: 296 Bytes

Versions: 2

Compression:

Stored size: 296 Bytes

Contents

# frozen_string_literal: true

require "rails_helper"

describe "accessibility", type: :feature, js: true do
  context "home page" do
    it "complies with WCAG" do
      visit "/"
      expect(page).to be_axe_clean
        .according_to(:wcag2a, :wcag2aa, :wcag21a, :wcag21aa)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pul_rails_template-0.2.1 lib/generators/pul_rails_template/templates/accessibility_spec.rb
pul_rails_template-0.2.0 lib/generators/pul_rails_template/templates/accessibility_spec.rb