Permalink
Browse files

Add tests for previous commit.

  • Loading branch information...
1 parent a7ef245 commit 13077a8f2f9ec57f19f11e9159b85c4a2b4f7425 @markstory markstory committed Jun 23, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/Cake/Test/Case/Network/Email/CakeEmailTest.php
@@ -82,6 +82,7 @@ class EmailConfig {
'subject' => 'Test mail subject',
'transport' => 'Debug',
'theme' => 'TestTheme',
+ 'helpers' => array('Html', 'Form'),
);
}
@@ -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);
}
/**

0 comments on commit 13077a8

Please sign in to comment.