From: rwldrn Date: Thu, 2 Jun 2011 15:30:44 +0000 (-0400) Subject: Updates tests X-Git-Tag: v0.7^2~53^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=41ae819e096ba8b2e445ea1257df8b4ae1858ed3;p=popcorn-js.git Updates tests --- diff --git a/test/popcorn.unit.js b/test/popcorn.unit.js index 5e324c8..b72c7e6 100644 --- a/test/popcorn.unit.js +++ b/test/popcorn.unit.js @@ -428,7 +428,7 @@ test("Popcorn.[addTrackEvent | removeTrackEvent].ref()", function() { equal( Popcorn.sizeOf( popped.data.trackRefs ), 0, "There are 0 trackRefs in popped.data.trackRefs" ); - Popcorn.removeInstance( popped ); + //Popcorn.removeInstance( popped ); }); @@ -1697,7 +1697,7 @@ test("getTrackEvent", function () { popped.removeTrackEvent( oldId ); - equals( popped.getTrackEvent( oldId ) === undefined, true, "returned undefined when id is not found" ); + equals( popped.getTrackEvent( oldId ), undefined, "returned undefined when id is not found" ); });