Sha256: 70ee9b225eb014a2e9c7978a2bbb67ad484cc002be75f877160ccb5b58d8238b
Contents?: true
Size: 1.64 KB
Versions: 2
Compression:
Stored size: 1.64 KB
Contents
Feature: Relative Assets In order easily switch between relative and absolute paths Scenario: Rendering css with the feature disabled Given "relative_assets" feature is "disabled" And the Server is running When I go to "/stylesheets/relative_assets.css" Then I should not see "url('../" And I should see "/images/blank.gif" Scenario: Rendering html with the feature disabled Given "relative_assets" feature is "disabled" And the Server is running When I go to "/relative_image.html" Then I should see "/images/blank.gif" Scenario: Rendering css with the feature enabled Given "relative_assets" feature is "enabled" And the Server is running When I go to "/stylesheets/relative_assets.css" Then I should see "url('../images/blank.gif" Scenario: Rendering html with the feature disabled Given "relative_assets" feature is "enabled" And the Server is running When I go to "/relative_image.html" Then I should not see "/images/blank.gif" And I should see "images/blank.gif" Scenario: Rendering html with a custom images_dir Given "relative_assets" feature is "enabled" And "images_dir" is set to "img" And the Server is running When I go to "/stylesheets/relative_assets.css" Then I should see "url('../img/blank.gif" Scenario: Rendering css with a custom images_dir Given "relative_assets" feature is "enabled" And "images_dir" is set to "img" And the Server is running When I go to "/relative_image.html" Then I should not see "/images/blank.gif" Then I should not see "/img/blank.gif" And I should see "img/blank.gif"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
middleman-2.0.0.rc92 | features/relative_assets.feature |
middleman-2.0.0.rc91 | features/relative_assets.feature |