diff --git a/test/rss.test.js b/test/rss.test.js index 1e3377a..a7df4d1 100644 --- a/test/rss.test.js +++ b/test/rss.test.js @@ -321,22 +321,22 @@ describe('rss module', function(done) { ] }); - var expectedResult ='\n' + - '' + + var expectedResult ='\n'+ + ''+ '' + - 'title' + - 'description' + + '<![CDATA[title]]>' + + '' + 'http://example.com' + 'RSS for Node' + '' + new Date().toUTCString() +'' + - '' + - 'Dylan Greene' + + '' + + '' + 'Sun, 20 May 2012 04:00:00 GMT' + '2013 Dylan Green' + - 'en' + 'Dylan Green' + 'Dylan Green' + 'http://example.com/rss/docs.html' + + '' + '60' + 'Category 1' + 'Category 2' + @@ -348,20 +348,20 @@ describe('rss module', function(done) { 'John Doe' + 'john.doe@example.com' + '' + - '' + + '' + '' + '' + '' + '' + - 'item 1' + - 'description 1' + + '<![CDATA[item 1]]>' + + '' + 'http://example.com/article1' + 'http://example.com/article1' + - 'Dylan Greene' + + '' + 'Thu, 24 May 2012 04:00:00 GMT' + 'John Doe' + 'A short primer on table spices' + - '' + + '' + '7:04' + '' + '' +