]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#347] Updated with ScottDowne's test variation
authorrwldrn <waldron.rick@gmail.com>
Tue, 22 Feb 2011 18:09:52 +0000 (13:09 -0500)
committerrwldrn <waldron.rick@gmail.com>
Tue, 22 Feb 2011 18:09:52 +0000 (13:09 -0500)
test/popcorn.unit.js

index ea062b7f66e6fa79894a10258f5ad87c66cf87d3..49b4d0791e33659de559fd42204633dcb90b3913 100644 (file)
@@ -1293,6 +1293,16 @@ if ( !/file/.test( location.protocol ) ) {
     );  
   });
 
+} else {
+  test("JSONP Response", function () {
+
+    expect(1);
+
+
+    stop(10000);
+    ok(false, "jsonp requests require a webserver with php");
+    start();
+  });
 }
 
 test("Popcorn.getScript()", function () {