aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/queue.js
diff options
context:
space:
mode:
authorOleg Gaidarenko <markelog@gmail.com>2015-07-29 18:10:04 +0300
committerOleg Gaidarenko <markelog@gmail.com>2015-07-30 20:46:31 +0300
commitaabe94edb4880c75eeebc5b5b5d66a9ad17008fe (patch)
tree41f685d530ab14485218cdec7d9c021390f0aa39 /test/unit/queue.js
parent360a4780339b7f412b75ad8a06dca7f39616f654 (diff)
downloadjquery-aabe94edb4880c75eeebc5b5b5d66a9ad17008fe.tar.gz
jquery-aabe94edb4880c75eeebc5b5b5d66a9ad17008fe.zip
Tests: don't use deprecated argument in test declaration
Closes gh-2507
Diffstat (limited to 'test/unit/queue.js')
-rw-r--r--test/unit/queue.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/unit/queue.js b/test/unit/queue.js
index 5cc84f913..761f17b17 100644
--- a/test/unit/queue.js
+++ b/test/unit/queue.js
@@ -1,6 +1,8 @@
module( "queue", { teardown: moduleTeardown });
-test( "queue() with other types", 14, function() {
+test( "queue() with other types", function() {
+ expect( 14 );
+
stop();
var $div = jQuery({}),
@@ -121,7 +123,9 @@ test("callbacks keep their place in the queue", function() {
});
});
-test( "jQuery.queue should return array while manipulating the queue", 1, function() {
+test( "jQuery.queue should return array while manipulating the queue", function() {
+ expect( 1 );
+
var div = document.createElement("div");
ok( jQuery.isArray( jQuery.queue( div, "fx", jQuery.noop ) ), "jQuery.queue should return an array while manipulating the queue" );