fixing tests
[fnpeditor.git] / src / smartxml / smartxml.test.js
index 11118f4..8041013 100644 (file)
@@ -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();