X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/9b1b7497ad65a4f8ef9053bcd6aac025027dd4f6..73e8795a3d19b7221f34353799d39808d57a4d05:/src/wlxml/wlxml.test.js diff --git a/src/wlxml/wlxml.test.js b/src/wlxml/wlxml.test.js index 936093e..3d1df03 100644 --- a/src/wlxml/wlxml.test.js +++ b/src/wlxml/wlxml.test.js @@ -281,8 +281,8 @@ describe('WLXMLDocument', function() { }}}}; doc.registerExtension(extension); testClassNode = doc.root.contents()[1]; - expect(testClassNode.object.transform('testTransformation').sameNode(testClassNode)).to.equal(true, '1'); - expect(testClassNode.object.transform('testTransformation2').sameNode(testClassNode)).to.equal(true, '1'); + expect(testClassNode.object.testTransformation().sameNode(testClassNode)).to.equal(true, '1'); + expect(testClassNode.object.testTransformation2().sameNode(testClassNode)).to.equal(true, '1'); });