From: David Humphrey Date: Tue, 23 Aug 2011 16:43:57 +0000 (-0400) Subject: Alter code plugin unit test such that number of frames run in onFrame is not part... X-Git-Tag: v0.8^2~16^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=53d6384295e49fc34f07a124bb57176d9d4632f3;p=popcorn-js.git Alter code plugin unit test such that number of frames run in onFrame is not part of the test. --- diff --git a/plugins/code/popcorn.code.unit.js b/plugins/code/popcorn.code.unit.js index 5daf659..1e5d06a 100755 --- a/plugins/code/popcorn.code.unit.js +++ b/plugins/code/popcorn.code.unit.js @@ -63,7 +63,7 @@ test('Popcorn Code Plugin', function () { codeDiv.innerHTML += '] Test 3 - onEnd'; ok(true, 'Test 3 onEnd was run.'); plus(); - ok(frames > 100, 'Test 3 onFrames was run.'); + ok(frames > 1, 'Test 3 onFrames was run.'); plus(); popped.pause(); }