From 154c1a1725c2568b628fae19b3d763201c2e2aa4 Mon Sep 17 00:00:00 2001 From: Hassan Khan Date: Mon, 11 Nov 2013 21:00:13 +0000 Subject: [PATCH] Cleaned up tests for ``Zepto\FileLoader\MarkdownLoader`` --- tests/Zepto/MarkdownLoaderTest.php | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/tests/Zepto/MarkdownLoaderTest.php b/tests/Zepto/MarkdownLoaderTest.php index 2016670..41454c0 100644 --- a/tests/Zepto/MarkdownLoaderTest.php +++ b/tests/Zepto/MarkdownLoaderTest.php @@ -47,11 +47,7 @@ public function testLoadSingleFile() $files['404.md'] = array( 'meta' => array( 'title' => 'Error 404', - 'robots' => 'noindex,nofollow', - 'description' => '', - 'author' => '', - 'date' => '', - 'template' => '' + 'robots' => 'noindex,nofollow' ), 'content' => '

Error 404

' . PHP_EOL . '

Woops. Looks like this page doesn\'t exist.

' @@ -68,12 +64,7 @@ public function testLoadMultipleFiles() { $files['sub/index.md'] = array( 'meta' => array( - 'title' => 'Sub Page Index', - 'robots' => '', - 'description' => '', - 'author' => '', - 'date' => '', - 'template' => '' + 'title' => 'Sub Page Index' ), 'content' => '

This is a Sub Page Index

' . PHP_EOL . '

This is index.md in the "sub" folder.

' . PHP_EOL @@ -84,12 +75,7 @@ public function testLoadMultipleFiles() $files['sub/page.md'] = array( 'meta' => array( - 'title' => 'Sub Page', - 'robots' => '', - 'description' => '', - 'author' => '', - 'date' => '', - 'template' => '' + 'title' => 'Sub Page' ), 'content' => '

This is a Sub Page

' . PHP_EOL . '

This is page.md in the "sub" folder.

' . PHP_EOL