From: Aleksander Ɓukasz Date: Thu, 5 Dec 2013 11:25:44 +0000 (+0100) Subject: refactoring X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/9b1b7497ad65a4f8ef9053bcd6aac025027dd4f6 refactoring --- diff --git a/src/wlxml/wlxml.test.js b/src/wlxml/wlxml.test.js index bb5101f..936093e 100644 --- a/src/wlxml/wlxml.test.js +++ b/src/wlxml/wlxml.test.js @@ -258,10 +258,11 @@ describe('WLXMLDocument', function() { doc = getDocumentFromXML('
Alice
'); elementNode = doc.root; textNode = doc.root.contents()[0]; + testClassNode = doc.root.contents('.test_class'); extension = {}; + expect(testClassNode.object).to.be.undefined; - // spr+ a expect dotyczacy object api? }); it('allows adding method to an ElementNode of specific class', function() {