In order to test the result of the complete request cycle you need to use the second parameter of testAction as follows :
$this->testAction(('/admin/posts/add', array('return' => false)) This way you will be able to assert headers, and text from the layout, the other possible value for 'return' key is 'result', which is the default for the function. I will try to document this a bit better today. Thanks! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php