X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bf797f438037c800673df8314449e118c31e0d73..1a38e9b3153db74626671b6727c7c139a249bf09:/test/javascripts/osm_test.js diff --git a/test/javascripts/osm_test.js b/test/javascripts/osm_test.js index 5e982fc4d..d7fe4a2fd 100644 --- a/test/javascripts/osm_test.js +++ b/test/javascripts/osm_test.js @@ -2,6 +2,9 @@ //= require jquery.cookie //= require osm //= require leaflet +//= require leaflet.osm +//= require leaflet.map +//= require i18n/translations //= require querystring var querystring = require('querystring-component'); @@ -227,4 +230,23 @@ describe("OSM", function () { expect(OSM.zoomPrecision(20)).to.eq(5); }); }); + + describe(".locationCookie", function () { + it("creates a location cookie value", function () { + $("body").html($("