Fix taginfo test - parse error, reset cache between tests

This commit is contained in:
Bryan Housel
2016-05-16 11:58:46 -04:00
parent fe39c0ee1b
commit 2b514b831b

View File

@@ -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"}
]);
});