diff --git a/features/chained_templates.feature b/features/chained_templates.feature index e9c968e4..8642e79c 100644 --- a/features/chained_templates.feature +++ b/features/chained_templates.feature @@ -10,6 +10,14 @@ Feature: Templates should be chainable Scenario: Build chained template Given a built app at "chained-app" - Then "index.html" should exist at "chained-app" and include "Title" - Then "index.html" should exist at "chained-app" and include "Subtitle" - Then "index.html" should exist at "chained-app" and include "Sup" \ No newline at end of file + + Then a directory named "build" should exist + 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" + And the file "index.html" should contain "Subtitle" + And the file "index.html" should contain "Sup" \ No newline at end of file