2009-11-23 00:37:11 +01: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 21:08:08 +02:00
|
|
|
Then I should not see "url('../"
|
2009-11-23 00:37:11 +01: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 21:08:08 +02:00
|
|
|
Then I should see "url('../"
|