2011-09-17 21:52:40 +02:00
|
|
|
Feature: Web Fonts
|
|
|
|
|
|
|
|
Scenario: Checking built folder for content
|
|
|
|
Given a built app at "test-app"
|
|
|
|
Then "stylesheets/fonts.css" should exist at "test-app" and include "/fonts/StMarie-Thin.otf"
|
|
|
|
And cleanup built app at "test-app"
|
|
|
|
|
|
|
|
Scenario: Rendering scss
|
|
|
|
Given the Server is running at "test-app"
|
|
|
|
When I go to "/stylesheets/fonts.css"
|
2011-09-20 18:27:02 +02:00
|
|
|
Then I should see "/fonts/StMarie-Thin.otf"
|
|
|
|
|
|
|
|
Scenario: Rendering scss with the feature enabled
|
|
|
|
Given "relative_assets" feature is "enabled"
|
|
|
|
And the Server is running at "test-app"
|
|
|
|
When I go to "/stylesheets/fonts.css"
|
|
|
|
Then I should see "url('../fonts/StMarie"
|