aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/queue.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/unit/queue.js b/test/unit/queue.js
index e19274039..4192c7169 100644
--- a/test/unit/queue.js
+++ b/test/unit/queue.js
@@ -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();