Sha256: 6a15ff1b1736ef427716a1754c831980f27021451b74af4a26501f68357234ef

Contents?: true

Size: 345 Bytes

Versions: 14

Compression:

Stored size: 345 Bytes

Contents

Then(/^the page should have exactly one h(\d+) heading and heading order must follow$/) do |headings|
  @page = Capybara.current_session
  @page.html.should include('<h1')
  @page.should have_css("h1", :count => 1)
  step 'the page should be accessible checking: heading-order'
  step 'the page should be accessible checking: empty-heading'
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
bddfire-3.0.2 scaffold/accessibility/features/step_definitions/headings.rb
bddfire-3.0.1 scaffold/accessibility/features/step_definitions/headings.rb
bddfire-3.0.0 scaffold/accessibility/features/step_definitions/headings.rb
bddfire-2.0.8 scaffold/accessibility/features/step_definitions/headings.rb
bddfire-2.0.7 scaffold/accessibility/features/step_definitions/headings.rb
bddfire-2.0.6 scaffold/accessibility/features/step_definitions/headings.rb
bddfire-2.0.5 scaffold/accessibility/features/step_definitions/headings.rb
bddfire-2.0.4 scaffold/accessibility/features/step_definitions/headings.rb
bddfire-2.0.3 scaffold/accessibility/features/step_definitions/headings.rb
bddfire-2.0.2 scaffold/accessibility/features/step_definitions/headings.rb
bddfire-2.0.1 scaffold/accessibility/features/step_definitions/headings.rb
bddfire-2.0.0 scaffold/accessibility/features/step_definitions/headings.rb
bddfire-1.9.9 scaffold/accessibility/features/step_definitions/headings.rb
bddfire-1.9.8 scaffold/accessibility/features/step_definitions/headings.rb