Browse Source

update test runner.

Taylor Otwell 13 years ago
parent
commit
86102ac417
1 changed files with 4 additions and 2 deletions
  1. 4 2
      laravel/cli/tasks/test/runner.php

+ 4 - 2
laravel/cli/tasks/test/runner.php

@@ -12,9 +12,11 @@ class Runner extends Task {
 	 *
 	 * @return void
 	 */
-	public function run()
+	public function run($bundles = array())
 	{
-		$this->bundle(array(DEFAULT_BUNDLE));
+		if (count($bundles) == 0) $bundles = array(DEFAULT_BUNDLE);
+
+		$this->bundle($bundles);
 	}
 
 	/**