aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2011-08-04 14:10:25 -0700
committerDave Methvin <dave.methvin@gmail.com>2011-08-04 14:10:25 -0700
commitdd3662d0ff0ac46d86e339ffeae67e956302f163 (patch)
treeca43f5d1027e2462be7b591e7a59f7f2261bca7f /test/unit
parent905e8920f9b2a895ed76693a74f34c0297cbcbfb (diff)
parenta4fb358eace24a2e768d3300c64883b8e0031a62 (diff)
downloadjquery-dd3662d0ff0ac46d86e339ffeae67e956302f163.tar.gz
jquery-dd3662d0ff0ac46d86e339ffeae67e956302f163.zip
Merge pull request #449 from rwldrn/9913
Removes duplicate test block. Fixes #9913
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/queue.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/unit/queue.js b/test/unit/queue.js
index c5c387a48..b5c058caa 100644
--- a/test/unit/queue.js
+++ b/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();