Simplify, fix spec

This commit is contained in:
John Firebaugh
2013-02-27 16:01:51 -08:00
parent 957121d92e
commit b751c1ece9
2 changed files with 11 additions and 13 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ describe("iD.actions.DeleteWay", function() {
c = iD.Node(),
way = iD.Way({nodes: [a.id, b.id, c.id, a.id]}),
action = iD.actions.DeleteWay(way.id),
graph = iD.Graph([a, b, way]).update(action);
graph = iD.Graph([a, b, c, way]).update(action);
expect(graph.entity(a.id)).to.be.undefined;
expect(graph.entity(b.id)).to.be.undefined;
expect(graph.entity(c.id)).to.be.undefined;