]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
restored iframe runner stuffs as per review [#720] t720
authorChristopher De Cairos <chris.decairos@gmail.com>
Thu, 15 Sep 2011 16:31:02 +0000 (12:31 -0400)
committerChristopher De Cairos <chris.decairos@gmail.com>
Thu, 15 Sep 2011 16:31:02 +0000 (12:31 -0400)
test/popcorn.unit.js

index da0e3606a11f8c7e6c9ba49bb7953c49e793a514..3a7ab4be6e8c7292d43667de04c512daea604d6a 100644 (file)
@@ -3671,3 +3671,14 @@ test("Parser Support", function() {
 
   });
 });
+
+module("Popcorn Test Runner End");
+test("Last Check", function() {
+  //  Trigger follow-up tests to run in iframes
+  (function( $ ) {
+    $("iframe[data-src]").attr( "src", function() {
+      return $(this).data("src");
+    });
+    ok( true, "iframe tests run");
+  })( jQuery );
+});