From 151c47672ed2f66d163aef900ae7175d34589424 Mon Sep 17 00:00:00 2001 From: Thomas Reynolds Date: Thu, 15 Dec 2011 16:21:34 -0800 Subject: [PATCH] update chained template test syntax --- features/chained_templates.feature | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) 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