test(modeling/lanes): expect labels to be children of lanes

Related to #326
This commit is contained in:
pedesen 2015-09-02 14:28:41 +02:00 committed by Ricardo Matias
parent e897c6746d
commit 6482273aa4
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ describe('features/modeling - lanes', function() {
var newLaneShape = modeling.createShape({ type: 'bpmn:Lane' }, { x: 180, y: 100 }, nestedLaneShape);
// then
expect(ids(newLaneShape.children)).to.eql([ 'Task_Boundary', 'Task', 'Boundary' ]);
expect(ids(newLaneShape.children)).to.eql([ 'Task_Boundary', 'Task', 'Boundary', 'Boundary_label' ]);
}));
});