Skip to content

Commit

Permalink
[#907] added test for last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottDowne committed Feb 4, 2012
1 parent c6f7408 commit efd4cb1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/popcorn.unit.js
Expand Up @@ -989,8 +989,8 @@ test( "Popcorn.events.hooks: canplayall fires immediately if ready", function()
<source src="http://videos.mozilla.org/serv/webmademovies/popcornplug.ogv"></source>
<source src="http://videos.mozilla.org/serv/webmademovies/popcornplug.webm"></source>
</video>
*/
*/

module( "Popcorn Position" );
test( "position", function() {
Expand Down Expand Up @@ -2586,7 +2586,7 @@ test( "Teardown end noise", function() {
QUnit.reset();

var popped = Popcorn( "#video" ),
expects = 4,
expects = 5,
count = 0;

function plus() {
Expand Down Expand Up @@ -2635,6 +2635,9 @@ test( "Teardown end noise", function() {

popped.currentTime( 0 ).play();
popped.removePlugin( "teardownEndTester" );

equal( popped.data.trackEvents.byEnd[ 1 ]._natives.type, "noise", "proper end was removed" );
plus();
});

test( "Plugin Breaker", function() {
Expand Down

0 comments on commit efd4cb1

Please sign in to comment.