Files
cartodb/lib/assets/test/spec/dashboard/data/config-model.spec.js
2020-06-15 10:58:47 +08:00

14 lines
428 B
JavaScript

var ConfigModel = require('dashboard/data/config-model');
var Backbone = require('backbone');
describe('dashboard/data/config-model', function () {
beforeEach(function () {
this.configModel = new ConfigModel();
});
it('should have a modules collection', function () {
expect(this.configModel.modules).not.toBe(undefined);
expect(this.configModel.modules).toEqual(jasmine.any(Backbone.Collection));
});
});