From 58ffb4c91303ac5a031ee59603f0afbd08ddba8a Mon Sep 17 00:00:00 2001 From: josephspurrier Date: Fri, 2 May 2014 19:07:00 -0400 Subject: [PATCH] Fixed templates --- .../Templating/Template_Engine_Test.php | 4 +- .../Templating/template/template.tpl | 43 ------------------- 2 files changed, 2 insertions(+), 45 deletions(-) diff --git a/tests/SurfStack/Templating/Template_Engine_Test.php b/tests/SurfStack/Templating/Template_Engine_Test.php index 8f9af76..d37d3d0 100644 --- a/tests/SurfStack/Templating/Template_Engine_Test.php +++ b/tests/SurfStack/Templating/Template_Engine_Test.php @@ -56,7 +56,7 @@ private function render() ob_end_clean(); } - public function testCaching() + public function testCompiling() { $this->view->clearCompile(); @@ -68,7 +68,7 @@ public function testCaching() $this->assertTrue($this->view->wasCompileCurrent()); } - + public function testClear() { $items = array( diff --git a/tests/SurfStack/Templating/template/template.tpl b/tests/SurfStack/Templating/template/template.tpl index 8b8456e..49ce055 100644 --- a/tests/SurfStack/Templating/template/template.tpl +++ b/tests/SurfStack/Templating/template/template.tpl @@ -43,49 +43,6 @@
-/* This is a comment */ - - - - * - - - No item has been found. - - - - * - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- {BoldBlock name='Joe' items=$items} Hello: {/BoldBlock} it is {TimeSlice} {* This is a comment *}