mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
22 lines
No EOL
851 B
Gherkin
22 lines
No EOL
851 B
Gherkin
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 enabled
|
|
Given "cache_buster" feature is "enabled"
|
|
When I go to "/stylesheets/relative_assets.css"
|
|
Then I should see "?"
|
|
|
|
Scenario: Rendering html with the feature enabled
|
|
Given "cache_buster" feature is "enabled"
|
|
When I go to "/cache-buster.html"
|
|
Then I should not see "?"
|
|
|
|
Scenario: Rendering css with the feature disabled
|
|
Given "cache_buster" feature is "disabled"
|
|
When I go to "/stylesheets/relative_assets.css"
|
|
Then I should not see "?"
|
|
|
|
Scenario: Rendering html with the feature disabled
|
|
Given "cache_buster" feature is "disabled"
|
|
When I go to "/cache-buster.html"
|
|
Then I should not see "?" |