From 5da37a24c459a7281eea9b9611633f97f3073adf Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Tue, 1 Jul 2014 12:04:11 +0200 Subject: [PATCH] chore(tests): reactivate BPMN 2.0 rendering for tests Related to #6 --- .../features/label-editing/LabelEditingProviderSpec.js | 6 +++--- test/spec/browser/features/touch/TouchInteractionSpec.js | 2 +- test/spec/browser/features/zoomscoll/ZoomScrollSpec.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/spec/browser/features/label-editing/LabelEditingProviderSpec.js b/test/spec/browser/features/label-editing/LabelEditingProviderSpec.js index 334880d2..3af748fd 100644 --- a/test/spec/browser/features/label-editing/LabelEditingProviderSpec.js +++ b/test/spec/browser/features/label-editing/LabelEditingProviderSpec.js @@ -11,8 +11,8 @@ var fs = require('fs'); var $ = require('jquery'); -var labelEditingModule = require('../../../../../lib/features/label-editing'); - +var labelEditingModule = require('../../../../../lib/features/label-editing'), + bpmnModule = require('../../../../../lib/draw'); var LabelUtil = require('../../../../../lib/features/label-editing/LabelUtil'); @@ -24,7 +24,7 @@ describe('features - label-editing', function() { var diagramXML = fs.readFileSync('test/fixtures/bpmn/features/label-editing/labels.bpmn', 'utf-8'); - var testModules = [ labelEditingModule ]; + var testModules = [ labelEditingModule, bpmnModule ]; beforeEach(bootstrapBpmnJS(diagramXML, { modules: testModules })); diff --git a/test/spec/browser/features/touch/TouchInteractionSpec.js b/test/spec/browser/features/touch/TouchInteractionSpec.js index feca5e7e..a4c3149e 100644 --- a/test/spec/browser/features/touch/TouchInteractionSpec.js +++ b/test/spec/browser/features/touch/TouchInteractionSpec.js @@ -12,7 +12,7 @@ var $ = require('jquery'); var touchModule = require('../../../../../lib/features/touch'), - bpmnModule = require('../../../../../lib/core'); + bpmnModule = require('../../../../../lib/draw'); describe('features - touch', function() { diff --git a/test/spec/browser/features/zoomscoll/ZoomScrollSpec.js b/test/spec/browser/features/zoomscoll/ZoomScrollSpec.js index 2ebd1a81..852bcec9 100644 --- a/test/spec/browser/features/zoomscoll/ZoomScrollSpec.js +++ b/test/spec/browser/features/zoomscoll/ZoomScrollSpec.js @@ -12,7 +12,7 @@ var $ = require('jquery'); var zoomscrollModule = require('../../../../../lib/features/zoomscroll'), - bpmnModule = require('../../../../../lib/core'); + bpmnModule = require('../../../../../lib/draw'); describe('features - zoomscroll', function() {