test: Moved intersectsWith() testing function into test-extensions.js

This commit is contained in:
Tobias Bieniek committed 2013-03-13 17:11:21 +01:00
1 parent e1bfc0c9dd
commit 93577bd335
2 files changed
+4 -3

No files matched your search

-3
View File
@@ -17,9 +17,6 @@ describe('ol.Rectangle', function() {
beforeEach(function() {
rectangle1 = new ol.Rectangle(50, 50, 100, 100);
expect.Assertion.prototype.intersectWith = function(other) {
return this.obj.intersects(other);
};
});
it('returns the expected value', function() {