Sha256: f46927b6ad4131b98e83a2975c1ad881f01c7fd5f3e16cf8915d47c0a3db502b
Contents?: true
Size: 1.53 KB
Versions: 3
Compression:
Stored size: 1.53 KB
Contents
Feature: ARIA current link Scenario: Without the aria_current parameter Given a fixture app "aria_current-app" Given a successfully built app at "aria_current-app" with flags "--verbose" Then the file "build/without-params.html" should contain: """ <a href="/without-params" aria-current="page">Home</a> """ Scenario: With the aria_current parameter Given a fixture app "aria_current-app" Given a successfully built app at "aria_current-app" with flags "--verbose" Then the file "build/with-params.html" should contain: """ <a href="/with-params" aria-current="step">Home</a> """ Scenario: when the link's URL is not the current page's URL Given a fixture app "aria_current-app" Given a successfully built app at "aria_current-app" with flags "--verbose" Then the file "build/different-url.html" should contain: """ <a href="/other-page">Home</a> """ Scenario: when the helper is invoked with a block Given a fixture app "aria_current-app" Given a successfully built app at "aria_current-app" with flags "--verbose" Then the file "build/with-block.html" should contain: """ <a href="/with-block" aria-current="page">Hello</a> """ Scenario: when the current page's URL contains a portion of the link's URL (i.e. /foo-bar and /foo) Given a fixture app "aria_current-app" Given a successfully built app at "aria_current-app" with flags "--verbose" Then the file "build/foo-bar.html" should contain: """ <a href="/foo">Hello</a> """
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
middleman-aria_current-0.1.2 | features/aria_current.feature |
middleman-aria_current-0.1.1 | features/aria_current.feature |
middleman-aria_current-0.1.0 | features/aria_current.feature |