Reword unit jQuery/MooTools DOM query collection unit test.

Former-commit-id: c80673f799ce6f1449d043eabf76fd6970a70b77
This commit is contained in:
John-David Dalton
2012-08-13 00:45:38 -07:00
parent 408029e6e0
commit 4087dc5fe4

View File

@@ -713,7 +713,7 @@
equal(_.isEmpty({ 'length': 0 }), false);
});
test('should work with array-like collections', function() {
test('should work with jQuery/MooTools DOM query collections', function() {
function Foo(elements) { Array.prototype.push.apply(this, elements); }
Foo.prototype = { 'splice': Array.prototype.splice };
@@ -1091,7 +1091,7 @@
equal(_.size({ 'length': 3 }), 1);
});
test('should work with array-like collections', function() {
test('should work with jQuery/MooTools DOM query collections', function() {
function Foo(elements) { Array.prototype.push.apply(this, elements); }
Foo.prototype = { 'splice': Array.prototype.splice };