middleman/features/asset_host.feature

12 lines
457 B
Gherkin
Raw Normal View History

2010-02-03 02:03:43 +01:00
Feature: Alternate between multiple asset hosts
In order to speed up page loading
Scenario: Rendering css with the feature enabled
Given the Server is running at "asset-host-app"
2010-02-03 02:03:43 +01:00
When I go to "/stylesheets/asset_host.css"
Then I should see "http://assets"
Scenario: Rendering html with the feature enabled
Given the Server is running at "asset-host-app"
2010-02-03 02:03:43 +01:00
When I go to "/asset_host.html"
Then I should see "http://assets"