From: Aleksander Ɓukasz Date: Fri, 6 Dec 2013 08:49:44 +0000 (+0100) Subject: fixing tests X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/92e3984fd3f6c86739424ef8ee606dc2022af1c5 fixing tests --- diff --git a/src/smartxml/smartxml.test.js b/src/smartxml/smartxml.test.js index 11118f4..8041013 100644 --- a/src/smartxml/smartxml.test.js +++ b/src/smartxml/smartxml.test.js @@ -837,10 +837,10 @@ describe('smartxml', function() { extension = {}; expect(function() { - elementNode.transform('testTransformation'); + elementNode.testTransformation(); }).to.throw(Error); expect(function() { - textNode.transform('testTransformation'); + textNode.testTransformation(); }).to.throw(Error); expect(function() { doc.testTransformation();