test case for rss helper fix

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5766 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2007-10-16 01:06:31 +00:00
parent 1ff8feb94c
commit b73aa20784

View file

@ -97,6 +97,9 @@ class RssTest extends UnitTestCase {
}
function testItem() {
$result = $this->Rss->item(null, array("title"=>"My title","description"=>"My description","link"=>"http://www.google.com/"));
$expecting = '<item><title>My title</title><description>My description</description><link>http://www.google.com/</link><guid>http://www.google.com/</guid></item>';
$this->assertEqual($result, $expecting);
}
function testTime() {