diff --git a/cake/tests/cases/console/cake.test.php b/cake/tests/cases/console/cake.test.php
index <HASH>..<HASH> 100644
--- a/cake/tests/cases/console/cake.test.php
+++ b/cake/tests/cases/console/cake.test.php
@@ -206,6 +206,24 @@ class ShellDispatcherTest extends UnitTestCase {
 
 		$expected = array('/cake/1.2.x.x/cake/console/cake.php', 'schema', 'run', 'create');
 		$this->assertEqual($expected, $Dispatcher->args);
+
+		$params = array('cake.php',
+						'-working',
+						'C:\wamp\www\cake\app',
+						'bake',
+						'-app',
+						'C:\wamp\www\apps\cake\app',
+					);
+
+		$expected = array('app' => 'C:\wamp\www\apps\cake\app',
+						'working' => 'C:\wamp\www\cake\app',
+						'root' => ROOT 
+						);
+
+		$Dispatcher->params = $Dispatcher->args = array();
+		$Dispatcher->parseParams($params);
+		$this->assertEqual($expected, $Dispatcher->params);
+
 	}
 }
-?>
\ No newline at end of file
+?>
Added test case for ticket <I>, where when running "cake bake" on windows will result in the proper app directory being written to disk.  Test currently fails when comparing root dir created by bake to the ROOT constant

git-svn-id: <URL>