Fix View test case still referring to the old bundle setup for tests.

This commit is contained in:
Franz Liedke 2012-07-13 03:07:14 +02:00
parent 7351845ec3
commit 37241db646
1 changed files with 2 additions and 2 deletions

View File

@ -55,10 +55,10 @@ public function testViewIsCreatedWithCorrectPath()
*/
public function testBundleViewIsCreatedWithCorrectPath()
{
$view = new View('laravel-tests::home.index');
$view = new View('home.index');
$this->assertEquals(
str_replace(DS, '/', Bundle::path('laravel-tests')).'views/home/index.php',
str_replace(DS, '/', Bundle::path(DEFAULT_BUNDLE)).'views/home/index.php',
str_replace(DS, '/', $view->path)
);
}