public function testExists()
{
$this->specify('The View component does don detect views correctly', function () {
$view = new View();
$view->setViewsDir(PATH_DATA . 'views' . DIRECTORY_SEPARATOR);
expect($view->exists('test2/index'))->true();
expect($view->exists('test3/other'))->true();
expect($view->exists('does_not_exist'))->false();
});
}