fixing tests
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Fri, 6 Dec 2013 08:49:44 +0000 (09:49 +0100)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Sun, 15 Dec 2013 21:32:48 +0000 (22:32 +0100)
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();