correcting tests

This commit is contained in:
Shelby Sturgis 2015-05-15 08:35:37 -07:00
parent aefa3c7037
commit fcf70bda50

View file

@ -288,11 +288,11 @@ define(function (require) {
it('should return a function', function () {
fnNames.forEach(function (fnName) {
expect(typeof yAxis._getScaleType(fnName)).to.be('function');
expect(yAxis._getScaleType(fnName)).to.be(Function);
});
// if no value is provided to the function, scale should default to a linear scale
expect(typeof yAxis._getScaleType()).to.be(Function);
expect(yAxis._getScaleType()).to.be(Function);
});
it('should throw an error if function name is undefined', function () {