mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Fix taginfo test - parse error, reset cache between tests
This commit is contained in:
@@ -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"}
|
||||
]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user