Skip to content

Commit

Permalink
Add tests for previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 23, 2012
1 parent a7ef245 commit 13077a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Cake/Test/Case/Network/Email/CakeEmailTest.php
Expand Up @@ -82,6 +82,7 @@ class EmailConfig {
'subject' => 'Test mail subject',
'transport' => 'Debug',
'theme' => 'TestTheme',
'helpers' => array('Html', 'Form'),
);

}
Expand Down Expand Up @@ -733,6 +734,9 @@ public function testConfigString() {

$result = $this->CakeEmail->transportClass();
$this->assertInstanceOf('DebugTransport', $result);

$result = $this->CakeEmail->helpers();
$this->assertEquals($configs->test['helpers'], $result);
}

/**
Expand Down

0 comments on commit 13077a8

Please sign in to comment.