Skip to content

Commit

Permalink
Changes relatives to templates from last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbasso committed May 31, 2011
1 parent 2134816 commit 6f821e0
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 7 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions lib/Cake/Test/Case/Console/Command/Task/ProjectTaskTest.php
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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();

Expand Down Expand Up @@ -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';
Expand Down
4 changes: 2 additions & 2 deletions lib/Cake/Test/Case/Console/Command/Task/TemplateTaskTest.php
Expand Up @@ -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);
}

/**
Expand All @@ -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'));
Expand Down
4 changes: 2 additions & 2 deletions lib/Cake/Test/Case/Utility/FolderTest.php
Expand Up @@ -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());
Expand Down Expand Up @@ -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';
Expand Down
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.

0 comments on commit 6f821e0

Please sign in to comment.