]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
Fixed alias in and out problem by removing a removeInstance call
authorDavid Seifried <david.c.seifried@gmail.com>
Mon, 26 Sep 2011 21:44:59 +0000 (17:44 -0400)
committerDavid Seifried <david.c.seifried@gmail.com>
Mon, 26 Sep 2011 21:44:59 +0000 (17:44 -0400)
test/popcorn.unit.js

index 98842445a0ff1922e485ba931f10c3ef88663a23..5f624ea9f822be0e64bd291ee782131a7a956d33 100644 (file)
@@ -2673,17 +2673,16 @@ test("Defaulting Empty End Values", function() {
 
 test( "In/Out aliases", function() {
   var popcorn = Popcorn( "#video" ),
-      expects = 4,
+      expects = 5,
       count = 0,
       counter = 0; 
 
   expect( expects );
-  stop( 5000 );
+  stop();
 
   function plus() {
     if ( ++count === expects ) {
       Popcorn.removePlugin( "aliasTester" );
-      Popcorn.removeInstance( popcorn );
       start();
     }
   }