public function testRenderWithVariables()
{
$this->specify('Render with variables does not work as expected', function () {
$view = new Simple();
$view->setViewsDir(PATH_DATA . 'views' . DIRECTORY_SEPARATOR);
expect($view->render('test3/other'))->equals('here');
$view->setParamToView('a_cool_var', 'le-this');
expect($view->render('test3/another'))->equals('<p>le-this</p>');
});
}