Files
openlayers/test/spec/ol/Tile.test.js
2012-06-20 09:17:55 +02:00

15 lines
410 B
JavaScript

describe("ol.Tile", function() {
describe("creating a tile", function() {
it("creates a tile instance", function() {
var tile = new ol.Tile();
expect(tile instanceof ol.Tile).toBe(true);
});
it("sets an image node in the instance", function() {
var tile = new ol.Tile();
expect(tile.getImg()).toBeDefined();
});
});
});