From 2b514b831bcbb8e41d422a47545ead6623345564 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Mon, 16 May 2016 11:58:46 -0400 Subject: [PATCH] Fix taginfo test - parse error, reset cache between tests --- test/spec/services/taginfo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/spec/services/taginfo.js b/test/spec/services/taginfo.js index 55c938424..bc65db96e 100644 --- a/test/spec/services/taginfo.js +++ b/test/spec/services/taginfo.js @@ -3,7 +3,7 @@ describe("iD.services.taginfo", function() { beforeEach(function() { server = sinon.fakeServer.create(); - taginfo = iD.services.taginfo(); + taginfo = iD.services.taginfo().reset(); }); afterEach(function() { @@ -66,7 +66,7 @@ describe("iD.services.taginfo", function() { server.respond(); expect(callback).to.have.been.calledWith(null, [ - {"title":"amenity", "value":"amenity"} + {"title":"amenity", "value":"amenity"}, {"title":"amenityother", "value":"amenityother"} ]); });