update chained template test syntax
This commit is contained in:
parent
43fb28ea70
commit
151c47672e
|
@ -10,6 +10,14 @@ Feature: Templates should be chainable
|
||||||
|
|
||||||
Scenario: Build chained template
|
Scenario: Build chained template
|
||||||
Given a built app at "chained-app"
|
Given a built app at "chained-app"
|
||||||
Then "index.html" should exist at "chained-app" and include "Title</h1>"
|
|
||||||
Then "index.html" should exist at "chained-app" and include "Subtitle</h2>"
|
Then a directory named "build" should exist
|
||||||
Then "index.html" should exist at "chained-app" and include "Sup</h3>"
|
And the exit status should be 0
|
||||||
|
|
||||||
|
When I cd to "build"
|
||||||
|
Then the following files should exist:
|
||||||
|
| index.html |
|
||||||
|
|
||||||
|
And the file "index.html" should contain "Title</h1>"
|
||||||
|
And the file "index.html" should contain "Subtitle</h2>"
|
||||||
|
And the file "index.html" should contain "Sup</h3>"
|
Loading…
Reference in a new issue