From: unknown Date: Tue, 1 Mar 2011 21:08:52 +0000 (-0500) Subject: Fix unit test X-Git-Tag: v0.4~26^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=ee7368533d78fb18d9fdc4f59ee4eeb976014fe9;p=popcorn-js.git Fix unit test --- 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();