aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Gaidarenko <markelog@gmail.com>2013-04-08 15:36:24 -0400
committerRick Waldron <waldron.rick@gmail.com>2013-04-08 15:36:45 -0400
commit58a75a583bfe7ce49dc1a39f19d7ff0e3a4b7b67 (patch)
tree98418654c8dcaea4729f0ed63bb08d9c5c06310f
parent5833081356c12c23faa4c772e7a201e4dda97517 (diff)
downloadjquery-58a75a583bfe7ce49dc1a39f19d7ff0e3a4b7b67.tar.gz
jquery-58a75a583bfe7ce49dc1a39f19d7ff0e3a4b7b67.zip
No ticket. Add additional test for jQuery.queue. Closes gh-1235
-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();