Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Fixed failing unit test in opera
Browse files Browse the repository at this point in the history
  • Loading branch information
dseif committed Oct 1, 2011
1 parent d2e2d1e commit aeaec0b
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions test/popcorn.unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -636,23 +636,16 @@ test( "play(n)/pause(n) custom stop()", function() {
$pop.listen( "canplayall", function() {

this.exec( 4, function() {

this.listen( "seeked", function() {

this.unlisten( "seeked" );

this.exec( 0, function() {

equal( this.currentTime(), 0, "currentTime is 0" );
plus();

equal( this.media.paused, true, "The media is paused" );
plus();

// Call custom "stop()"
}).stop();
});

// Play from 3s
this.play( 3 );
}).play( 3 );
});
});

Expand Down

0 comments on commit aeaec0b

Please sign in to comment.