From 9f174539a3cc0869845fbdca08aa2d1d3e784847 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Tue, 9 Jul 2013 12:32:34 +0200 Subject: [PATCH] some additional assertions for list test --- modules/documentCanvas/canvas/canvas.test3.js | 3 +++ 1 file changed, 3 insertions(+) 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'); + }); }); }); -- 2.20.1