2009-11-22 15:37:11 -08:00
|
|
|
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"
|
|
|
|
When I go to "/stylesheets/relative_assets.css"
|
2010-04-18 12:08:08 -07:00
|
|
|
Then I should not see "url('../"
|
2009-11-22 15:37:11 -08:00
|
|
|
|
|
|
|
Scenario: Rendering css with the feature enabled
|
|
|
|
Given "relative_assets" feature is "enabled"
|
|
|
|
When I go to "/stylesheets/relative_assets.css"
|
2010-04-18 12:08:08 -07:00
|
|
|
Then I should see "url('../"
|