]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
Alter code plugin unit test such that number of frames run in onFrame is not part...
authorDavid Humphrey <david.humphrey@senecac.on.ca>
Tue, 23 Aug 2011 16:43:57 +0000 (12:43 -0400)
committerDavid Humphrey <david.humphrey@senecac.on.ca>
Tue, 23 Aug 2011 16:43:57 +0000 (12:43 -0400)
plugins/code/popcorn.code.unit.js

index 5daf6598090e708b609163af59e75faf3889851d..1e5d06ad6299754b6cb9911fb3561f5f26224c42 100755 (executable)
@@ -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();
     }