No ticket. Add additional test for jQuery.queue. Closes gh-1235

This commit is contained in:
Oleg Gaidarenko 2013-04-08 15:36:24 -04:00 committed by Rick Waldron
parent 5833081356
commit 58a75a583b

View File

@ -123,6 +123,12 @@ test("callbacks keep their place in the queue", function() {
});
});
test( "jQuery.queue should return array while manipulating the queue", 1, function() {
var div = document.createElement("div");
ok( jQuery.isArray( jQuery.queue( div, "fx", jQuery.noop ) ), "jQuery.queue should return an array while manipulating the queue" );
});
test("delay()", function() {
expect(2);
stop();