Skip to content

Commit

Permalink
Add test for the render method
Browse files Browse the repository at this point in the history
  • Loading branch information
jenssegers committed Aug 29, 2015
1 parent 570e9a4 commit 14b6410
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/BladeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,12 @@ public function testNonBlade()
$this->assertEquals('this is plain php', trim($output));
}

public function testRenderAlias()
{
$blade = new Blade('tests/views', 'tests/cache');

$output = $blade->render('basic');
$this->assertEquals('hello world', trim($output));
}

}

0 comments on commit 14b6410

Please sign in to comment.