diff --git a/lib/Cake/Console/Templates/default/classes/controller.ctp b/lib/Cake/Console/Templates/default/classes/controller.ctp index eec49119c..f5bc7d660 100644 --- a/lib/Cake/Console/Templates/default/classes/controller.ctp +++ b/lib/Cake/Console/Templates/default/classes/controller.ctp @@ -50,7 +50,7 @@ class Controller extends App assertContains(' * @property AclComponent $Acl', $result); $this->assertContains(' * @property AuthComponent $Auth', $result); $this->assertContains('class ArticlesController extends AppController', $result); - $this->assertContains("\$components = array('Acl', 'Auth')", $result); - $this->assertContains("\$helpers = array('Ajax', 'Time')", $result); + $this->assertContains("public \$components = array('Acl', 'Auth')", $result); + $this->assertContains("public \$helpers = array('Ajax', 'Time')", $result); $this->assertContains("--actions--", $result); $result = $this->Task->bake('Articles', 'scaffold', $helpers, $components);