fix 404 warnings in tests

This commit is contained in:
Vladimir Agafonkin 2014-10-23 13:52:19 +03:00
parent eacc499199
commit e2e1ccb2f0

View File

@ -384,7 +384,7 @@ describe("Map", function () {
it("supports adding and removing a tile layer without initializing the map", function () {
map.setView([0, 0], 18);
var layer = L.tileLayer("{z}{x}{y}");
var layer = L.gridLayer();
map.addLayer(layer);
map.removeLayer(layer);
});