mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
Relative Assets shouldn't return a Pathname sometimes, the rest of the code expects Strings
This commit is contained in:
parent
9d54010656
commit
ae7f75e5cc
1 changed files with 15 additions and 0 deletions
|
@ -25,3 +25,18 @@ Feature: Generate mtime-based query string for busting browser caches
|
|||
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?"
|
Loading…
Reference in a new issue