From: David Seifried Date: Mon, 26 Sep 2011 15:39:57 +0000 (-0400) Subject: Unit test fix X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=d3533a33c0840bd69675f9f04d4c3ce932e587d5;p=popcorn-js.git Unit test fix --- diff --git a/test/popcorn.unit.js b/test/popcorn.unit.js index d2c6acd..c07c671 100644 --- a/test/popcorn.unit.js +++ b/test/popcorn.unit.js @@ -2580,7 +2580,7 @@ test("Defaulting Empty End Values", function() { test( "In/Out aliases", function() { var popcorn = Popcorn( "#video" ), - expects = 3, + expects = 4, count = 0, counter = 0; @@ -2617,7 +2617,8 @@ test( "In/Out aliases", function() { ok( popcorn.data.events[ "in" ], "in is a valid alias for start" ); plus(); - ok( popcorn.data.events[ "out" ], "out is a valid alias for end" ); + ok( popcorn.data.events[ "out" ], "out is a valid alias for end" ); + plus(); equals( counter, 0, "Counter is at 0, neither in or out have been called" ); plus();