From ef494d1288d82ba112de449c79693dad0e0ae42a Mon Sep 17 00:00:00 2001 From: Mithgol Date: Mon, 27 Jan 2014 08:07:02 -0800 Subject: [PATCH] =?UTF-8?q?+2=20=E2=80=9Cdylan=E2=80=9D=20=E2=86=92=20?= =?UTF-8?q?=E2=80=9Cdylang=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The tests should pass after 1c4a856a8eca3b8eda728b8daa029f159737729e. --- test/rss.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/rss.test.js b/test/rss.test.js index 41b801e..41017c0 100644 --- a/test/rss.test.js +++ b/test/rss.test.js @@ -9,9 +9,9 @@ describe('rss module', function(done) { it('should work with an empty feed', function(done) { var feed = new RSS(); - expect(feed.xml()).to.equal('\n<![CDATA[Untitled RSS Feed]]>http://github.com/dylan/node-rssRSS for Node' + new Date().toUTCString() +''); + expect(feed.xml()).to.equal('\n<![CDATA[Untitled RSS Feed]]>http://github.com/dylang/node-rssRSS for Node' + new Date().toUTCString() +''); feed.item(); - expect(feed.xml()).to.equal('\n<![CDATA[Untitled RSS Feed]]>http://github.com/dylan/node-rssRSS for Node' + new Date().toUTCString() +'<![CDATA[No title]]>No title'); + expect(feed.xml()).to.equal('\n<![CDATA[Untitled RSS Feed]]>http://github.com/dylang/node-rssRSS for Node' + new Date().toUTCString() +'<![CDATA[No title]]>No title'); done(); });