Browse Source

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

Franz Liedke 12 years ago
parent
commit
37241db646
1 changed files with 2 additions and 2 deletions
  1. 2 2
      laravel/tests/cases/view.test.php

+ 2 - 2
laravel/tests/cases/view.test.php

@@ -55,10 +55,10 @@ class ViewTest extends PHPUnit_Framework_TestCase {
 	 */
 	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)
 		);
 	}