Fix tests

This commit is contained in:
Evert Timberg 2015-11-17 18:38:19 -05:00
parent fe77f07c07
commit e00f9d5790
2 changed files with 9 additions and 3 deletions

View File

@ -543,7 +543,9 @@ describe('Line controller tests', function() {
var yScale = new VerticalScaleConstructor({
ctx: mockContext,
options: verticalScaleConfig,
data: data,
chart: {
data: data
},
id: 'firstYScaleID'
});
@ -560,7 +562,9 @@ describe('Line controller tests', function() {
var xScale = new HorizontalScaleConstructor({
ctx: mockContext,
options: horizontalScaleConfig,
data: data,
chart: {
data: data
},
id: 'firstXScaleID'
});

View File

@ -1530,7 +1530,9 @@ describe('Linear Scale', function() {
var verticalScale = new Constructor({
ctx: mockContext,
options: config,
data: mockData,
chart: {
data: mockData
},
id: scaleID
});