test(browser/ImporterSpec): fix missing Renderer dependency

This commit is contained in:
Nico Rehwaldt 2014-03-21 14:42:14 +01:00
parent 3cafee107a
commit 8c46e91fc0
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
var fs = require('fs');
var BpmnModel = require('../../../lib/Model'),
Renderer = require('../../../lib/Renderer');
Viewer = require('../../../lib/Viewer');
var Matchers = require('../Matchers');
@ -31,7 +31,7 @@ describe('Importer', function() {
var xml = fs.readFileSync('test/fixtures/bpmn/simple.bpmn', 'utf8');
read(xml, function(err, result) {
var renderer = new Renderer(container);
var renderer = new Viewer(container);
renderer.importDefinitions(result, done);
});
@ -42,7 +42,7 @@ describe('Importer', function() {
var xml = fs.readFileSync('test/fixtures/bpmn/empty-definitions.bpmn', 'utf8');
read(xml, function(err, result) {
var renderer = new Renderer(container);
var renderer = new Viewer(container);
renderer.importDefinitions(result, done);
});