]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
Updates tests
authorrwldrn <waldron.rick@gmail.com>
Thu, 2 Jun 2011 15:30:44 +0000 (11:30 -0400)
committerrwldrn <waldron.rick@gmail.com>
Thu, 2 Jun 2011 15:30:44 +0000 (11:30 -0400)
test/popcorn.unit.js

index 5e324c889f7d0131fa87a8e8d2e8af73cf468c1e..b72c7e6248041ef049896c051f01539f70c4d107 100644 (file)
@@ -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" );
 
 });