Skip to content

Commit

Permalink
Removes duplicate test block. Fixes #9913
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Jul 26, 2011
1 parent 27291ff commit a4fb358
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions test/unit/queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a4fb358

Please sign in to comment.