From 9b1b7497ad65a4f8ef9053bcd6aac025027dd4f6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Thu, 5 Dec 2013 12:25:44 +0100 Subject: [PATCH 1/1] refactoring --- src/wlxml/wlxml.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() { -- 2.20.1