integration wip: listens for text changes in node family tree
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / canvas.test.js
index 35b943d..f0ba395 100644 (file)
@@ -19,7 +19,7 @@ var nodeFromXML = function(xml) {
 describe('new Canvas', function() {
     it('abc', function() {
         var doc = wlxml.WLXMLDocumentFromXML('<section>Alice <span>has</span> a cat!</div>'),
 describe('new Canvas', function() {
     it('abc', function() {
         var doc = wlxml.WLXMLDocumentFromXML('<section>Alice <span>has</span> a cat!</div>'),
-            c = canvas.fromXML(doc);
+            c = canvas.fromXMLDocument(doc);
 
         expect(c.doc().children()).to.have.length(3)
     });
 
         expect(c.doc().children()).to.have.length(3)
     });