reverting changes to tests

This commit is contained in:
Shelby Sturgis 2015-05-15 08:40:14 -07:00
parent fcf70bda50
commit bbaca6e4b9

View file

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