horizon/horizon/static/horizon/tests/jasmine/templates.legacy-spec.js

9 lines
306 B
JavaScript

describe("Client-Side Templating (horizon.templates.js)", function () {
it("Compiled templates list should not be empty.", function () {
var size = 0;
angular.forEach(horizon.templates.compiled_templates, function () {
size = size + 1;
});
expect(size).toBeGreaterThan(0);
});
});