middleman/features/fonts.feature

17 lines
645 B
Gherkin
Raw Normal View History

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"
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"