2015-01-14 17:48:06 +00:00
|
|
|
'use strict';
|
|
|
|
|
2016-06-07 06:46:45 +00:00
|
|
|
require('../../../TestHelper');
|
2015-01-14 17:48:06 +00:00
|
|
|
|
|
|
|
/* global bootstrapModeler, inject */
|
|
|
|
|
|
|
|
|
|
|
|
var modelingModule = require('../../../../lib/features/modeling'),
|
|
|
|
bendpointsModule = require('diagram-js/lib/features/bendpoints'),
|
|
|
|
coreModule = require('../../../../lib/core');
|
|
|
|
|
|
|
|
|
|
|
|
describe('features/bendpoints', function() {
|
|
|
|
|
2015-03-31 12:17:15 +00:00
|
|
|
var diagramXML = require('../../../fixtures/bpmn/features/drop/drop.bpmn');
|
2015-01-14 17:48:06 +00:00
|
|
|
|
|
|
|
var testModules = [ coreModule, bendpointsModule, modelingModule ];
|
|
|
|
|
|
|
|
beforeEach(bootstrapModeler(diagramXML, { modules: testModules }));
|
|
|
|
|
|
|
|
|
|
|
|
it('should contain bendpoints', inject(function(bendpoints) {
|
2015-12-01 07:27:45 +00:00
|
|
|
expect(bendpoints).to.exist;
|
2015-01-14 17:48:06 +00:00
|
|
|
}));
|
|
|
|
|
|
|
|
});
|