Change test to respect global relative assets change
This commit is contained in:
parent
3ae28874bf
commit
3e1fc0aa1f
|
@ -1,6 +1,10 @@
|
|||
master
|
||||
===
|
||||
|
||||
* `relative_assets` extension overrides local `relative: false` option to stylesheet/javascript tag helpers.
|
||||
|
||||
# 4.0.0.rc.1
|
||||
|
||||
* Removed ability to use JSON as frontmatter. Still allowed in data/ folder.
|
||||
* Added YAML data postscript. Like frontmatter, but reversed. Attach content after the key/value data as a `:postscript` key to the data structure (if Hash).
|
||||
|
||||
|
|
|
@ -59,15 +59,15 @@ Feature: Relative Assets
|
|||
When I cd to "build"
|
||||
Then the file "relative_image/index.html" should contain "../stylesheets/relative_assets.css"
|
||||
|
||||
Scenario: Rendering html with the feature enabled
|
||||
Scenario: Rendering html with the feature enabled (overrides relative option on helpers)
|
||||
Given "relative_assets" feature is "enabled"
|
||||
And the Server is running at "relative-assets-app"
|
||||
When I go to "/relative_image.html"
|
||||
Then I should see '"stylesheets/relative_assets.css"'
|
||||
Then I should see '"javascripts/app.js"'
|
||||
When I go to "/relative_image_absolute_css.html"
|
||||
Then I should see '"/stylesheets/relative_assets.css"'
|
||||
Then I should see '"/javascripts/app.js"'
|
||||
Then I should see '"stylesheets/relative_assets.css"'
|
||||
Then I should see '"javascripts/app.js"'
|
||||
Then I should not see "/images/blank.gif"
|
||||
And I should see "images/blank.gif"
|
||||
|
||||
|
|
Loading…
Reference in a new issue