From 60ba29518a0aa12f8d9420672914a42e3a8750be Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Tue, 4 Dec 2012 11:57:21 -0500 Subject: [PATCH] Test XML decode --- test/spec/format/xml.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/spec/format/xml.js b/test/spec/format/xml.js index 79b5f206b..bd5181495 100644 --- a/test/spec/format/xml.js +++ b/test/spec/format/xml.js @@ -1,4 +1,10 @@ describe('XML', function() { + describe('#decode', function() { + it('decodes xml', function() { + expect(iD.format.XML.decode('<">')).to.eql('<">'); + }); + }); + describe('#rep', function() { it('converts a node to jxon', function() { expect(iD.format.XML.rep({ id: 'n-1', type: 'node', lat: 38, lon: -77 }))