2010-02-02 20:03:43 -05:00
|
|
|
Feature: Alternate between multiple asset hosts
|
|
|
|
In order to speed up page loading
|
|
|
|
|
|
|
|
Scenario: Rendering css with the feature enabled
|
|
|
|
Given I am using an asset host
|
2011-07-27 22:59:38 -04:00
|
|
|
And the Server is running at "test-app"
|
2010-02-02 20:03:43 -05:00
|
|
|
When I go to "/stylesheets/asset_host.css"
|
|
|
|
Then I should see "http://assets"
|
|
|
|
|
|
|
|
Scenario: Rendering html with the feature enabled
|
|
|
|
Given I am using an asset host
|
2011-07-27 22:59:38 -04:00
|
|
|
And the Server is running at "test-app"
|
2010-02-02 20:03:43 -05:00
|
|
|
When I go to "/asset_host.html"
|
|
|
|
Then I should see "http://assets"
|