Themed CakeEmail should load view helpers with the theme set

This commit is contained in:
Hadrien 2014-03-18 14:22:24 +01:00
parent d559e429e6
commit d55a167830
3 changed files with 8 additions and 3 deletions

View file

@ -1337,6 +1337,7 @@ class CakeEmailTest extends CakeTestCase {
$this->assertContains('In TestTheme', $result['message']);
$this->assertContains('Message-ID: ', $result['headers']);
$this->assertContains('To: ', $result['headers']);
$this->assertContains('/theme/TestTheme/img/test.jpg', $result['message']);
}
/**