Merge pull request #103 from tPl0ch/2.0-bake-controller

2.0 Shell - Wrong underscore naming of Shells and Tasks
This commit is contained in:
ADmad 2011-05-29 04:56:40 -07:00
commit c5a2efc5dd
3 changed files with 15 additions and 2 deletions

View file

@ -800,4 +800,17 @@ TEXT;
TEXT;
$this->assertEquals($expected, $result, 'Text not wrapped.');
}
/**
* Testing camel cased naming of tasks
*
* @access public
* @return void
*/
public function testShellNaming() {
$this->Shell->tasks = array('TestApple');
$this->Shell->loadTasks();
$expected = 'TestApple';
$this->assertEqual($expected, $this->Shell->TestApple->name);
}
}