diff --git a/cake/tests/cases/libs/view/helpers/rss.test.php b/cake/tests/cases/libs/view/helpers/rss.test.php index 2b083c5ab..c302f4c40 100644 --- a/cake/tests/cases/libs/view/helpers/rss.test.php +++ b/cake/tests/cases/libs/view/helpers/rss.test.php @@ -517,6 +517,40 @@ class RssHelperTest extends CakeTestCase { '/item' ); $this->assertTags($result, $expected); + + $item = array( + 'title' => 'Foo bar', + 'link' => array( + 'url' => 'http://example.com/foo?a=1&b=2', + 'convertEntities' => false + ), + 'description' => array( + 'value' => 'descriptive words', + 'cdata' => true, + ), + 'pubDate' => '2008-05-31 12:00:00' + ); + $result = $this->Rss->item(null, $item); + $expected = array( + 'assertTags($result, $expected); } /**