Sha256: e0d2f025026fb34c2df3d3e4bdb96a5d16723b599b39080086a9274002c33ebe

Contents?: true

Size: 981 Bytes

Versions: 13

Compression:

Stored size: 981 Bytes

Contents

Feature: Built-in auto_javascript_include_tag view helper
  In order to simplify including javascript files

  Scenario: Viewing the root path
    Given the Server is running
    When I go to "/auto-js.html"
    Then I should see "javascripts/auto-js.js"

  Scenario: Viewing a tier-1 path
    Given the Server is running
    When I go to "/auto-js/auto-js.html"
    Then I should see "javascripts/auto-js/auto-js.js"

  Scenario: Viewing the index file of a tier-1 path, without filename
    Given the Server is running
    When I go to "/auto-js"
    Then I should see "javascripts/auto-js/index.js"

  Scenario: Viewing the index file of a tier-1 path, without filename, with a trailing slash
    Given the Server is running
    When I go to "/auto-js/"
    Then I should see "javascripts/auto-js/index.js"

  Scenario: Viewing a tier-2 path
    Given the Server is running
    When I go to "/auto-js/sub/auto-js.html"
    Then I should see "javascripts/auto-js/sub/auto-js.js"

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
middleman-2.0.0.rc92 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.0.rc91 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.0.rc8 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.0.rc7 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.0.rc6 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.0.rc5 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.0.rc4 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.0.rc3 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.0.rc2 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.0.rc1 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.0.beta6 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.0.beta5 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.0.beta4 features/helpers_auto_javascript_include_tag.feature