diff --git a/tests/BladeTest.php b/tests/BladeTest.php index cdbb640..3d96038 100644 --- a/tests/BladeTest.php +++ b/tests/BladeTest.php @@ -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)); + } + }