Permalink
Browse files

Changes relatives to templates from last commit.

  • Loading branch information...
1 parent 2134816 commit 6f821e0d4dde713fbaea2f9d9136f59efc999837 @jrbasso jrbasso committed May 31, 2011
File renamed without changes.
@@ -70,7 +70,7 @@ public function tearDown() {
* @return void
*/
protected function _setupTestProject() {
- $skel = CAKE . 'Console' . DS . 'templates' . DS . 'skel';
+ $skel = CAKE . 'Console' . DS . 'Templates' . DS . 'skel';
$this->Task->expects($this->at(0))->method('in')->will($this->returnValue('y'));
$this->Task->bake($this->Task->path . 'bake_test_app', $skel);
}
@@ -116,7 +116,7 @@ public function testBake() {
*/
public function testExecuteWithAbsolutePath() {
$this->Task->args[0] = TMP . 'tests' . DS . 'bake_test_app';
- $this->Task->params['skel'] = CAKE . 'Console' . DS . 'templates' . DS . 'skel';
+ $this->Task->params['skel'] = CAKE . 'Console' . DS . 'Templates' . DS . 'skel';
$this->Task->expects($this->at(0))->method('in')->will($this->returnValue('y'));
$this->Task->execute();
@@ -269,7 +269,7 @@ public function testGetPrefixWithMultiplePrefixes() {
* @return void
*/
public function testExecute() {
- $this->Task->params['skel'] = CAKE . 'Console' . DS. 'templates' . DS . 'skel';
+ $this->Task->params['skel'] = CAKE . 'Console' . DS. 'Templates' . DS . 'skel';
$this->Task->params['working'] = TMP . 'tests' . DS;
$path = $this->Task->path . 'bake_test_app';
@@ -89,7 +89,7 @@ public function testSet() {
public function testFindingInstalledThemesForBake() {
$consoleLibs = CAKE . 'Console' . DS;
$this->Task->initialize();
- $this->assertEqual($this->Task->templatePaths['default'], $consoleLibs . 'templates' . DS . 'default' . DS);
+ $this->assertEqual($this->Task->templatePaths['default'], $consoleLibs . 'Templates' . DS . 'default' . DS);
}
/**
@@ -99,7 +99,7 @@ public function testFindingInstalledThemesForBake() {
* @return void
*/
public function testGetThemePath() {
- $defaultTheme = CAKE . 'Console' . DS . 'templates' . DS . 'default' .DS;
+ $defaultTheme = CAKE . 'Console' . DS . 'Templates' . DS . 'default' .DS;
$this->Task->templatePaths = array('default' => $defaultTheme);
$this->Task->expects($this->exactly(1))->method('in')->will($this->returnValue('1'));
@@ -146,7 +146,7 @@ public function testRecursiveCreateFailure() {
* @return void
*/
public function testOperations() {
- $path = CAKE . 'Console' . DS . 'templates' . DS . 'skel';
+ $path = CAKE . 'Console' . DS . 'Templates' . DS . 'skel';
$Folder = new Folder($path);
$result = is_dir($Folder->pwd());
@@ -219,7 +219,7 @@ public function testOperations() {
public function testChmod() {
$this->skipIf(DIRECTORY_SEPARATOR === '\\', 'Folder permissions tests not supported on Windows.');
- $path = CAKE . 'Console' . DS . 'templates' . DS . 'skel';
+ $path = CAKE . 'Console' . DS . 'Templates' . DS . 'skel';
$Folder = new Folder($path);
$subdir = 'test_folder_new';

0 comments on commit 6f821e0

Please sign in to comment.