Sha256: 858a964fcebfeb493955acf0a4b555a71ef51c74e394f34f77e75623a2e36c98

Contents?: true

Size: 1.03 KB

Versions: 67

Compression:

Stored size: 1.03 KB

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 at "test-app"
    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 at "test-app"
    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 at "test-app"
    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 at "test-app"
    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 at "test-app"
    When I go to "/auto-js/sub/auto-js.html"
    Then I should see "javascripts/auto-js/sub/auto-js.js"

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
middleman-2.0.16.1-x86-mingw32 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.16.1 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.16-x86-mingw32 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.16 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.15.4-x86-mingw32 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.15.4 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.15.3-x86-mingw32 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.15.3 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.15.2-x86-mingw32 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.15.2 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.15.1-x86-mingw32 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.15.1 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.15-x86-mingw32 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.15 features/helpers_auto_javascript_include_tag.feature
middleman-3.0.0.alpha.6 features/helpers_auto_javascript_include_tag.feature
middleman-3.0.0.alpha.5 features/helpers_auto_javascript_include_tag.feature
middleman-3.0.0.alpha.4 features/helpers_auto_javascript_include_tag.feature
middleman-3.0.0.alpha.3 features/helpers_auto_javascript_include_tag.feature
middleman-3.0.0.alpha.2 features/helpers_auto_javascript_include_tag.feature
middleman-2.0.14-x86-mingw32 features/helpers_auto_javascript_include_tag.feature