]> git.openstreetmap.org Git - rails.git/blobdiff - test/javascripts/osm_test.js
Use search params without objectification
[rails.git] / test / javascripts / osm_test.js
index d70ddc13c60fd1d54984f3a0f30252078098d902..5ab92adf7ff3e227fd0c548f1eccd5c2a247bcaf 100644 (file)
@@ -20,14 +20,6 @@ describe("OSM", function () {
     });
   });
 
-  describe(".params", function () {
-    it("parses params", function () {
-      const params = OSM.params("?foo=a&bar=b");
-      expect(params).to.have.property("foo", "a");
-      expect(params).to.have.property("bar", "b");
-    });
-  });
-
   describe(".mapParams", function () {
     beforeEach(function () {
       delete OSM.home;