This commit is contained in:
John Firebaugh
2013-03-13 17:42:16 -07:00
parent 54c1de74e0
commit 71897a53cd

View File

@@ -16,7 +16,7 @@ describe("iD.svg.Midpoints", function () {
extent = iD.geo.Extent([0, 0], [100, 100]);
// If no vertices are drawn, no midpoints are drawn. This dependence needs to be removed
surface.call(iD.svg.Vertices(projection), graph, [a], filter, extent);
surface.call(iD.svg.Vertices(projection), graph, [a], filter, extent, 16);
surface.call(iD.svg.Midpoints(projection), graph, [line], filter, extent);
expect(surface.select('.midpoint').datum().loc).to.eql([25, 0]);