wip: canvas.commands - lists through new api
[fnpeditor.git] / src / editor / modules / nodePane / metaWidget / metaWidget.test.js
index 05b75dc..f546248 100644 (file)
@@ -13,7 +13,7 @@ describe('metaWidget', function() {
         var dom = $('<div>');
         var widget = metaWidget.create({
                 el: dom,
-                attrs: [{name: 'uri', type: 'string', value: 'test string'}],
+                attrs: {'uri': {type: 'string', value: 'test string'}},
             });
 
         var spy = sinon.spy();