From a3c7b5956dc351e491ea2401170475e5f41686ce Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Fri, 13 Jun 2014 12:03:08 -0700 Subject: [PATCH] Remove obsolete tests --- test/spec/svg/areas.js | 13 ------------- test/spec/svg/lines.js | 13 ------------- 2 files changed, 26 deletions(-) diff --git a/test/spec/svg/areas.js b/test/spec/svg/areas.js index c8d21032f..fcbcb1792 100644 --- a/test/spec/svg/areas.js +++ b/test/spec/svg/areas.js @@ -40,19 +40,6 @@ describe("iD.svg.Areas", function () { expect(surface.select('.area')).to.be.classed('tag-building-yes'); }); - // it("preserves non-area paths", function () { - // var area = iD.Way({tags: {area: 'yes'}}), - // graph = iD.Graph([area]); - - // surface.select('.area-fill') - // .append('path') - // .attr('class', 'other'); - - // surface.call(iD.svg.Areas(projection), graph, [area], none); - - // expect(surface.selectAll('.other')[0].length).to.equal(1); - // }); - it("handles deletion of a way and a member vertex (#1903)", function () { var graph = iD.Graph([ iD.Node({id: 'a', loc: [0, 0]}), diff --git a/test/spec/svg/lines.js b/test/spec/svg/lines.js index f464929db..b94575a60 100644 --- a/test/spec/svg/lines.js +++ b/test/spec/svg/lines.js @@ -73,19 +73,6 @@ describe("iD.svg.Lines", function () { expect(surface.select('.stroke')).to.be.classed('tag-natural-wood'); }); - // it("preserves non-line paths", function () { - // var line = iD.Way(), - // graph = iD.Graph([line]); - - // surface.select('.area-fill') - // .append('path') - // .attr('class', 'other'); - - // surface.call(iD.svg.Lines(projection), graph, [line], all); - - // expect(surface.selectAll('.other')[0].length).to.equal(1); - // }); - describe("z-indexing", function() { var graph = iD.Graph([ iD.Node({id: 'a', loc: [0, 0]}),