From 0ef810e2c7842de6932cc8a6c95ad5fd3ddb7cea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Thu, 3 Oct 2013 16:31:52 +0200 Subject: [PATCH] getOtherAttributes --- src/wlxml/wlxml.test.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/wlxml/wlxml.test.js b/src/wlxml/wlxml.test.js index 7d5e6d0..090cd56 100644 --- a/src/wlxml/wlxml.test.js +++ b/src/wlxml/wlxml.test.js @@ -24,6 +24,11 @@ describe('WLXMLDocument', function() { var node = nodeFromXML(''); expect(node.getMetaAttributes()).to.eql({attr1: 'val1', attr2: 'val2'}); }); + + it('returns attributes other than class and meta-* as other attributes', function() { + var node = nodeFromXML(''); + expect(node.getOtherAttributes()).to.eql({attr1: 'val1', attr2: 'val2'}); + }); }); }); -- 2.20.1