test chained templates build

This commit is contained in:
Thomas Reynolds 2011-11-29 11:51:01 -08:00
parent 2ed409b5e1
commit 451b9e5f46

View file

@ -6,4 +6,10 @@ Feature: Templates should be chainable
When I go to "/index.html" When I go to "/index.html"
Then I should see "Title</h1>" Then I should see "Title</h1>"
And I should see "Subtitle</h2>" And I should see "Subtitle</h2>"
And I should see "Sup</h3>" And I should see "Sup</h3>"
Scenario: Build chained template
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 "index.html" should exist at "chained-app" and include "Sup</h3>"