c0e1bf06bf
Specifically, the new cases check the correctness of paths generated by font_files / font_url when relative_assets is on in build mode, and when a custom fonts_dir is specified in preview mode.
16 lines
614 B
Gherkin
16 lines
614 B
Gherkin
Feature: Web Fonts
|
|
|
|
Scenario: Checking built folder for content
|
|
Given a successfully built app at "fonts-app"
|
|
When I cd to "build"
|
|
Then the following files should exist:
|
|
| stylesheets/fonts.css |
|
|
And the file "stylesheets/fonts.css" should contain "/fonts/StMarie-Thin.otf"
|
|
And the file "stylesheets/fonts.css" should contain "/fonts/blank/blank.otf"
|
|
|
|
Scenario: Rendering scss
|
|
Given the Server is running at "fonts-app"
|
|
When I go to "/stylesheets/fonts.css"
|
|
Then I should see "/fonts/StMarie-Thin.otf"
|
|
And I should see "/fonts/blank/blank.otf"
|