From ee7368533d78fb18d9fdc4f59ee4eeb976014fe9 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 1 Mar 2011 16:08:52 -0500 Subject: [PATCH] Fix unit test --- test/popcorn.unit.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/popcorn.unit.js b/test/popcorn.unit.js index f6f0b6c..ce36918 100755 --- a/test/popcorn.unit.js +++ b/test/popcorn.unit.js @@ -68,8 +68,7 @@ test("Utility", function () { }); test("Instances", function() { - var popped = Popcorn("#video"), - expects = 9, + var expects = 9, count = 0, instance; @@ -108,7 +107,7 @@ test("Instances", function() { ok( instance instanceof Popcorn, "Instance instanceof Popcorn" ); plus(); - + equal( Popcorn.instances.length, 1, "There are the correct number of Popcorn instances" ); plus(); -- 2.43.0