test(import): assert correct number of children

This commit is contained in:
Nico Rehwaldt 2014-08-28 14:27:13 +02:00
parent c685c0fcce
commit 5f986dcb3a
1 changed files with 2 additions and 0 deletions

View File

@ -186,6 +186,8 @@ describe('import - importer', function() {
// then
expect(startEventShape.type).toBe('bpmn:StartEvent');
expect(startEventShape.parent).toBe(subProcessShape);
expect(subProcessShape.children.length).toBe(5);
});