Remove unused branch and obsolete test

This commit is contained in:
John Firebaugh
2013-01-24 11:17:41 -05:00
parent 29577f7645
commit b6d8ddc2f8
2 changed files with 0 additions and 9 deletions

View File

@@ -21,7 +21,6 @@ iD.actions.DeleteWay = function(wayId) {
!graph.parentRelations(node).length) {
if (!node.hasInterestingTags()) {
graph = graph.remove(node);
} else {
}
}
});

View File

@@ -38,12 +38,4 @@ describe("iD.actions.DeleteWay", function () {
graph = action(iD.Graph([node, way]));
expect(graph.entity(node.id)).not.to.be.undefined;
});
it("registers member nodes with interesting tags as POIs", function () {
var node = iD.Node({tags: {highway: 'traffic_signals'}}),
way = iD.Way({nodes: [node.id]}),
action = iD.actions.DeleteWay(way.id),
graph = action(iD.Graph([node, way]));
expect(graph.entity(node.id)._poi).to.be.ok;
});
});