Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Commit

Permalink
Cleaned up tests for Zepto\FileLoader\MarkdownLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
hassankhan committed Nov 11, 2013
1 parent 30a1ce1 commit 154c1a1
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions tests/Zepto/MarkdownLoaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' => '<h1>Error 404</h1>' . PHP_EOL
. '<p>Woops. Looks like this page doesn\'t exist.</p>'
Expand All @@ -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' => '<h2>This is a Sub Page Index</h2>' . PHP_EOL
. '<p>This is index.md in the "sub" folder.</p>' . PHP_EOL
Expand All @@ -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' => '<h2>This is a Sub Page</h2>' . PHP_EOL
. '<p>This is page.md in the "sub" folder.</p>' . PHP_EOL
Expand Down

0 comments on commit 154c1a1

Please sign in to comment.