fix fonts test

This commit is contained in:
Thomas Reynolds 2011-12-15 16:40:07 -08:00
parent 4b9f5771c2
commit 104abe71dd
3 changed files with 7 additions and 6 deletions

View file

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

View file

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

View file

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