aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2011-07-26 12:08:50 -0400
committerRick Waldron <waldron.rick@gmail.com>2011-07-26 12:08:50 -0400
commita4fb358eace24a2e768d3300c64883b8e0031a62 (patch)
treea71f267f8e1b7d059cca392f5f6b72bd3c2d101c /test/unit
parent27291ff06ddb655f90a8d1eada71f7ac61499b12 (diff)
downloadjquery-a4fb358eace24a2e768d3300c64883b8e0031a62.tar.gz
jquery-a4fb358eace24a2e768d3300c64883b8e0031a62.zip
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();