aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/queue.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/queue.js')
-rw-r--r--test/unit/queue.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/queue.js b/test/unit/queue.js
index 9cecad7a5..e19274039 100644
--- a/test/unit/queue.js
+++ b/test/unit/queue.js
@@ -184,7 +184,7 @@ test("clearQueue() clears the fx queue", function() {
});
asyncTest( "fn.promise() - called when fx queue is empty", 3, function() {
- var foo = jQuery( "#foo" ).clone().andSelf(),
+ var foo = jQuery( "#foo" ).clone().addBack(),
promised = false;
foo.queue( function( next ) {