cartodb-4.42/lib/assets/test/spec/builder/data/static-asset-model.spec.js
2024-04-06 05:25:13 +00:00

14 lines
454 B
JavaScript

var StaticAssetModel = require('builder/data/static-asset-model');
describe('data/static-asset-model', function () {
beforeEach(function () {
this.model = new StaticAssetModel();
});
describe('.getUrlFor', function () {
it('should return the proper URL', function () {
expect(this.model.getURLFor('paella'))
.toEqual('https://s3.amazonaws.com/com.cartodb.users-assets.production/maki-icons/paella-18.svg');
});
});
});