Skip to content
Permalink
Browse files

Merge pull request #449 from rwldrn/9913

Removes duplicate test block. Fixes #9913
  • Loading branch information...
dmethvin committed Aug 4, 2011
2 parents 905e892 + a4fb358 commit dd3662d0ff0ac46d86e339ffeae67e956302f163
Showing with 0 additions and 19 deletions.
  1. +0 −19 test/unit/queue.js
@@ -66,25 +66,6 @@ test("queue(name) passes in the next item in the queue as a parameter", function
div.dequeue("foo");
});

test("queue(name) passes in the next item in the queue as a parameter", function() {
expect(2);

var div = jQuery({});
var counter = 0;

div.queue("foo", function(next) {
equals(++counter, 1, "Dequeueing");
next();
}).queue("foo", function(next) {
equals(++counter, 2, "Next was called");
next();
}).queue("bar", function() {
equals(++counter, 3, "Other queues are not triggered by next()")
});

div.dequeue("foo");
});

test("queue() passes in the next item in the queue as a parameter to fx queues", function() {
expect(3);
stop();

0 comments on commit dd3662d

Please sign in to comment.
You can’t perform that action at this time.