Update RequestHandler tests for new View classes.

This commit is contained in:
mark_story 2011-11-07 23:03:36 -05:00
parent c1f5dc1e40
commit b0d0e06b97

View file

@ -412,8 +412,7 @@ class RequestHandlerComponentTest extends CakeTestCase {
$this->RequestHandler->renderAs($this->Controller, 'xml', array('attachment' => 'myfile.xml'));
$expected = 'RequestHandlerTest' . DS . 'xml';
$this->assertEquals($expected, $this->Controller->viewPath);
$this->assertEquals('Xml', $this->Controller->viewClass);
}
/**