Skip to content
Browse files

Added RequestObject output in place of Controller:$output whicch no l…

…onger exists.
  • Loading branch information...
predominant committed Aug 28, 2010
1 parent 93b8004 commit c1209a1a7a0b47e9d5a20dd61bec208afd4d642a
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/tests/cases/libs/controller/pages_controller.test.php
@@ -60,12 +60,12 @@ function testDisplay() {
$Pages->viewPath = 'posts';
$this->assertPattern('/posts index/', $Pages->output);
$this->assertPattern('/posts index/', $Pages->getResponse()->body());
$this->assertEqual($Pages->viewVars['page'], 'index');
$Pages->viewPath = 'themed';
$Pages->display('test_theme', 'posts', 'index');
$this->assertPattern('/posts index themed view/', $Pages->output);
$this->assertPattern('/posts index themed view/', $Pages->getResponse()->body());
$this->assertEqual($Pages->viewVars['page'], 'test_theme');
$this->assertEqual($Pages->viewVars['subpage'], 'posts');

0 comments on commit c1209a1

Please sign in to comment.
You can’t perform that action at this time.