From aa459095af64882adb32a93ba108d5c5ba1b6c67 Mon Sep 17 00:00:00 2001 From: Jacques Crocker Date: Sat, 31 Jul 2010 00:11:44 -0700 Subject: [PATCH] Adding a work in progress render feature --- features/render/engine.feature | 40 ++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 features/render/engine.feature diff --git a/features/render/engine.feature b/features/render/engine.feature new file mode 100644 index 00000000..058272a7 --- /dev/null +++ b/features/render/engine.feature @@ -0,0 +1,40 @@ +Feature: Engine + As a website user + I want to be able to view someones created locomotive pages + + @wip + Scenario: Simple Page + Given I have a page created at "/hello_world" with the content: + """ + Hello World + """ + When I render "/hello_world" + Then output should look like + """ + Hello World + """ + + @wip + Scenario: Page with layout + Given a layout named "above_and_below" with the content: + """ +
+ {{ content_for_layout }} +
+ """ + + And a page at "/hello_world_layout" with the layout "above_and_below" and the content: + """ + Hello World + """ + + When I render "/hello_world_layout" + Then output should look like + """ +
+ Hello World +
+ """ + + +