updating model task, fixes #3782

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6275 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2007-12-29 20:48:00 +00:00
parent 7e845242d5
commit 1b10036712

View file

@ -51,7 +51,7 @@ class ModelTask extends Shell {
}
if (!empty($this->args[0])) {
$model = $this->args[0];
$model = Inflector::camelize($this->args[0]);
if ($this->bake($model)) {
if ($this->_checkUnitTest()) {
$this->bakeTest($model);