Sha256: 28b7059a53c1689c664b07368107957691eb60c19ee24480f3874e0d03302394

Contents?: true

Size: 1.71 KB

Versions: 39

Compression:

Stored size: 1.71 KB

Contents

Feature: Generate mtime-based query string for busting browser caches
  In order to display the most recent content for IE & CDNs and appease YSlow
    
  Scenario: Rendering css with the feature disabled
    Given "cache_buster" feature is "disabled"
    And the Server is running at "cache-buster-app"
    When I go to "/stylesheets/relative_assets.css"
    Then I should see "blank.gif'"
    
  Scenario: Rendering html with the feature disabled
    Given "cache_buster" feature is "disabled"
    And the Server is running at "cache-buster-app"
    When I go to "/cache-buster.html"
    Then I should see 'site.css"'

  Scenario: Rendering css with the feature enabled
    Given "cache_buster" feature is "enabled"
    And the Server is running at "cache-buster-app"
    When I go to "/stylesheets/relative_assets.css"
    Then I should see "blank.gif?"

  Scenario: Rendering html with the feature enabled
    Given "cache_buster" feature is "enabled"
    And the Server is running at "cache-buster-app"
    When I go to "/cache-buster.html"
    Then I should see "site.css?"
    Then I should see "blank.gif?"

  Scenario: Rendering css with the feature and relative_assets enabled
    Given "relative_assets" feature is "enabled"
    Given "cache_buster" feature is "enabled"
    And the Server is running at "cache-buster-app"
    When I go to "/stylesheets/relative_assets.css"
    Then I should see "blank.gif?"

  Scenario: Rendering html with the feature and relative_assets enabled
    Given "relative_assets" feature is "enabled"
    Given "cache_buster" feature is "enabled"
    And the Server is running at "cache-buster-app"
    When I go to "/cache-buster.html"
    Then I should see "site.css?"
    Then I should see "blank.gif?"

Version data entries

39 entries across 39 versions & 3 rubygems

Version Path
middleman-core-3.2.0 features/cache_buster.feature
middleman-core-3.1.6 features/cache_buster.feature
middleman-core-3.1.5 features/cache_buster.feature
middleman-core-3.1.4 features/cache_buster.feature
middleman-core-3.1.3 features/cache_buster.feature
middleman-core-3.1.2 features/cache_buster.feature
middleman-core-3.1.1 features/cache_buster.feature
middleman-core-3.1.0 features/cache_buster.feature
middleman-core-3.1.0.rc.4 features/cache_buster.feature
middleman-core-3.1.0.rc.3 features/cache_buster.feature
middleman-core-3.1.0.rc.2 features/cache_buster.feature
middleman-core-3.1.0.rc.1 features/cache_buster.feature
middleman-more-3.0.14 features/cache_buster.feature
middleman-more-3.1.0.beta.3 features/cache_buster.feature
middleman-more-3.1.0.beta.2 features/cache_buster.feature
middleman-more-3.1.0.beta.1 features/cache_buster.feature
middleman-more-3.0.13 features/cache_buster.feature
middleman-more-3.0.12 features/cache_buster.feature
middleman-more-3.0.12.pre.1 features/cache_buster.feature