fix fonts test
This commit is contained in:
parent
4b9f5771c2
commit
104abe71dd
3 changed files with 7 additions and 6 deletions
|
@ -2,9 +2,7 @@ Feature: Dynamic Pages
|
|||
In order to use a single view to generate multiple output files
|
||||
|
||||
Scenario: Checking built folder for content
|
||||
Given a built app at "test-app"
|
||||
Then a directory named "build" should exist
|
||||
|
||||
Given a successfully built app at "test-app"
|
||||
When I cd to "build"
|
||||
Then the following files should exist:
|
||||
| fake.html |
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
Feature: Web Fonts
|
||||
|
||||
Scenario: Checking built folder for content
|
||||
Given a built app at "fonts-app"
|
||||
Then "stylesheets/fonts.css" should exist at "fonts-app" and include "/fonts/StMarie-Thin.otf"
|
||||
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"
|
||||
|
||||
Scenario: Rendering scss
|
||||
Given the Server is running at "fonts-app"
|
||||
|
|
|
@ -21,7 +21,7 @@ Feature: Sprockets
|
|||
Then I should see "Hello One"
|
||||
|
||||
Scenario: Multiple engine files should build correctly
|
||||
Given a built app at "test-app"
|
||||
Given a successfully built app at "test-app"
|
||||
When I cd to "build"
|
||||
Then a file named "javascripts/multiple_engines.js" should exist
|
||||
And the file "javascripts/multiple_engines.js" should contain "Hello One"
|
||||
|
|
Loading…
Reference in a new issue