chore(test): fix brfs include encoding

This commit is contained in:
Nico Rehwaldt 2014-11-20 12:56:39 +01:00
parent 3d66502ee8
commit 2707fc8858
11 changed files with 11 additions and 11 deletions

View File

@ -24,7 +24,7 @@
* var fs = require('fs');
*
* // insert diagram.css
* TestHelper.insertCSS('diagram.css', fs.readFileSync('some-css.css', 'utf-8'));
* TestHelper.insertCSS('diagram.css', fs.readFileSync('some-css.css', 'utf8'));
* ```
*/

View File

@ -17,7 +17,7 @@ describe('features - context-pad', function() {
beforeEach(Matchers.addDeepEquals);
var diagramXML = fs.readFileSync('test/fixtures/bpmn/simple.bpmn', 'utf-8');
var diagramXML = fs.readFileSync('test/fixtures/bpmn/simple.bpmn', 'utf8');
var testModules = [ contextPadModule, bpmnModule ];

View File

@ -22,7 +22,7 @@ describe('features - label-editing', function() {
beforeEach(Matchers.addDeepEquals);
var diagramXML = fs.readFileSync('test/fixtures/bpmn/features/label-editing/labels.bpmn', 'utf-8');
var diagramXML = fs.readFileSync('test/fixtures/bpmn/features/label-editing/labels.bpmn', 'utf8');
var testModules = [ labelEditingModule, coreModule ];

View File

@ -21,7 +21,7 @@ describe('features/modeling - append shape', function() {
beforeEach(Matchers.addDeepEquals);
var diagramXML = fs.readFileSync('test/fixtures/bpmn/simple.bpmn', 'utf-8');
var diagramXML = fs.readFileSync('test/fixtures/bpmn/simple.bpmn', 'utf8');
var testModules = [ coreModule, modelingModule ];

View File

@ -17,7 +17,7 @@ describe('features - bpmn-factory', function() {
beforeEach(Matchers.addDeepEquals);
var diagramXML = fs.readFileSync('test/fixtures/bpmn/simple.bpmn', 'utf-8');
var diagramXML = fs.readFileSync('test/fixtures/bpmn/simple.bpmn', 'utf8');
var testModules = [ modelingModule, coreModule ];

View File

@ -18,7 +18,7 @@ describe('features/modeling - create connection', function() {
beforeEach(Matchers.addDeepEquals);
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf-8');
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf8');
var testModules = [ coreModule, modelingModule ];

View File

@ -18,7 +18,7 @@ describe('features/modeling - #removeConnection', function() {
beforeEach(Matchers.addDeepEquals);
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf-8');
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf8');
var testModules = [ coreModule, modelingModule ];

View File

@ -18,7 +18,7 @@ describe('features/modeling - #removeShape', function() {
beforeEach(Matchers.addDeepEquals);
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf-8');
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf8');
var testModules = [ coreModule, modelingModule ];

View File

@ -18,7 +18,7 @@ describe('features/modeling - layout connection', function() {
beforeEach(Matchers.addDeepEquals);
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf-8');
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf8');
var testModules = [ coreModule, modelingModule ];

View File

@ -18,7 +18,7 @@ describe('features/modeling - move connection', function() {
beforeEach(Matchers.addDeepEquals);
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf-8');
var diagramXML = fs.readFileSync('test/fixtures/bpmn/sequence-flows.bpmn', 'utf8');
var testModules = [ coreModule, modelingModule ];

View File

@ -18,7 +18,7 @@ describe('features/modeling - move shape', function() {
beforeEach(Matchers.addDeepEquals);
var diagramXML = fs.readFileSync('test/fixtures/bpmn/simple.bpmn', 'utf-8');
var diagramXML = fs.readFileSync('test/fixtures/bpmn/simple.bpmn', 'utf8');
var testModules = [ coreModule, modelingModule ];