Skip to content

Commit

Permalink
Update RequestHandler tests for new View classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Nov 28, 2011
1 parent c1f5dc1 commit b0d0e06
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -412,8 +412,7 @@ public function testRenderAsWithAttachment() {

$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);
}

/**
Expand Down

0 comments on commit b0d0e06

Please sign in to comment.