]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#t366] 3 more tests
authorScottDowne <sdowne@learn.senecac.on.ca>
Mon, 20 Jun 2011 17:57:22 +0000 (13:57 -0400)
committerScottDowne <sdowne@learn.senecac.on.ca>
Mon, 20 Jun 2011 17:57:22 +0000 (13:57 -0400)
test/popcorn.unit.js

index bb2f8f34684141651624d455c578431ab227cb36..22831208161b75c1720dfa17b9d96c1966f482f6 100644 (file)
@@ -1274,7 +1274,7 @@ test( "Plugin extend", function () {
   QUnit.reset();
 
   var popped = Popcorn("#video"),
-      expects = 40,
+      expects = 43,
       count = 0,
       effectTrackOne,
       effectTrackTwo,
@@ -1304,6 +1304,15 @@ test( "Plugin extend", function () {
   expect( expects );
   stop( 15000 );
 
+  ok( Popcorn.compose, "compose method exists" );
+  plus();
+
+  ok( Popcorn.effect, "effect method exists" );
+  plus();
+
+  ok( Popcorn.plugin.effect, "effect method exists" );
+  plus();
+
   Popcorn.plugin( "testPlugin", {});
 
   Popcorn.compose( "testCompose1", {