Skip to content

Commit

Permalink
Unskip remaining tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Mar 25, 2014
1 parent 8ac7fc5 commit 67b3f60
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions tests/TestCase/Console/Command/Task/ViewTaskTest.php
Expand Up @@ -523,16 +523,15 @@ public function testExecuteWithControllerAndAdminFlag() {
* @return void
*/
public function testExecuteWithAlternateTemplates() {
$this->markTestIncomplete('Model baking will not work as models do not work.');
$this->_setupTask(['in', 'err', 'createFile', 'bake', '_stop']);

$this->Task->connection = 'test';
$this->Task->args = array('ViewTaskComments', 'index', 'list');
$this->Task->params = array();
$this->Task->args = ['ViewTaskComments', 'index', 'list'];
$this->Task->params = [];

$this->Task->expects($this->once())->method('createFile')
->with(
TMP . 'ViewTaskComments/list.ctp',
$this->stringContains('ViewTaskComment')
);
$this->Task->expects($this->once())
->method('bake')
->with('list', true);
$this->Task->execute();
}

Expand Down

0 comments on commit 67b3f60

Please sign in to comment.