test(snapping): fix missing modeling module

This commit is contained in:
Nico Rehwaldt 2016-03-23 09:28:59 +01:00
parent 22ef807bcd
commit a41f5d034e
1 changed files with 15 additions and 5 deletions

View File

@ -374,10 +374,15 @@ describe('features/snapping - BpmnSnapping', function() {
describe('on SubProcess resize', function() {
var diagramXML = require('./BpmnSnapping.subProcess-resize.bpmn');
var testResizeModules = [ coreModule, resizeModule, rulesModule, snappingModule ];
var testResizeModules = [
coreModule,
modelingModule,
resizeModule,
rulesModule,
snappingModule
];
beforeEach(bootstrapModeler(diagramXML, { modules: testResizeModules }));
@ -399,15 +404,20 @@ describe('features/snapping - BpmnSnapping', function() {
describe('on TextAnnotation resize', function() {
var diagramXML = require('./BpmnSnapping.textAnnotation-resize.bpmn');
var testResizeModules = [ coreModule, resizeModule, rulesModule, snappingModule ];
var testResizeModules = [
coreModule,
modelingModule,
resizeModule,
rulesModule,
snappingModule
];
beforeEach(bootstrapModeler(diagramXML, { modules: testResizeModules }));
it('should snap a TextAnnotation to minimum bounds', inject(function(elementRegistry, resize, dragging) {
it('should snap to minimum bounds', inject(function(elementRegistry, resize, dragging) {
var textAnnotation = elementRegistry.get('TextAnnotation');