Move intersect into expect.js

This commit is contained in:
Tom Payne
2013-03-15 00:37:05 +01:00
parent 7c7c4df3fc
commit 79c77a6369
3 changed files with 45 additions and 33 deletions

View File

@@ -19,11 +19,6 @@ function waitsFor(condition, message, timeout, callback) {
}
expect.Assertion.prototype.intersectWith = function(other) {
return this.obj.intersects(other);
};
expect.Assertion.prototype.equalArray = function(other) {
return goog.array.equals(this.obj, other);
};