Reset the aggParam spy before the params tests

This commit is contained in:
Rashid Khan 2015-05-06 16:21:39 -07:00
parent 37e561c5a2
commit cc407b6ca1

View file

@ -117,6 +117,10 @@ define(function (require) {
});
describe('params', function () {
beforeEach(function () {
AggParams.reset();
});
it('defaults to AggParams object with JSON param', function () {
var aggType = new AggType({
name: 'smart agg'