Skip to content

Commit

Permalink
Remove _closePath test due to inconsistencies between implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
tripp committed Mar 30, 2013
1 parent a12bc68 commit 514ec61
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/graphics/tests/unit/assets/drawing-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,6 @@ var parentDiv = Y.DOM.create('<div id="testdiv" style="width: 400px; height: 400
Y.Assert.areEqual(this.path, this.path.drawWedge(175, 175, -3, 365, 175), "The drawWedge method should return a reference to the path.");
//hit 0 segs branch
Y.Assert.areEqual(this.path, this.path.drawWedge(175, 175, -3, 0, 175), "The drawWedge method should return a reference to the path.");

},

"test: _closePath()" : function() {
this.path._closePath();
Y.Assert.areEqual("", this.path._path, "There _path property should be an empty string.");
this.path._pathArray = [];
Y.Assert.areEqual("", this.path._path, "There _path property should be an empty string.");
}
});

Expand Down

0 comments on commit 514ec61

Please sign in to comment.