X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/9c5db1c241bd7d0ff38354790dd9fbd43549cd4d..9f174539a3cc0869845fbdca08aa2d1d3e784847:/modules/documentCanvas/canvas/canvas.test3.js?ds=sidebyside diff --git a/modules/documentCanvas/canvas/canvas.test3.js b/modules/documentCanvas/canvas/canvas.test3.js index 3c25cf5..5aa4aad 100644 --- a/modules/documentCanvas/canvas/canvas.test3.js +++ b/modules/documentCanvas/canvas/canvas.test3.js @@ -415,6 +415,9 @@ describe('Canvas', function() { var list = section.children()[0]; expect(list.is('list')).to.equal(true, 'section\'s only child is a list'); expect(list.children().length).to.equal(4, 'list contains four elements'); + list.children().forEach(function(child) { + expect(child.getWlxmlClass()).to.equal('item', 'list childs have wlxml class of item'); + }); }); });