unittests/tests/widgets/polemicWidget.js
branchbugslaying-after-r417-merge
changeset 427 440ffc18f827
parent 234 43b198dc932d
child 433 8d4bff9ee126
--- a/unittests/tests/widgets/polemicWidget.js	Wed Dec 07 14:31:47 2011 +0100
+++ b/unittests/tests/widgets/polemicWidget.js	Wed Dec 07 17:12:04 2011 +0100
@@ -3,7 +3,7 @@
 function test_polemic_widget() {
   module("polemic widget testing", 
   {setup : function() {    
-    this.Popcorn = Popcorn.youtube("#popcorn-div", "http://www.youtube.com/watch?v=QH2-TGUlwu4");
+    this.Popcorn = Popcorn("#popcorn-div");
     
     this.dt = new IriSP.DataLoader();
     this.ser = new IriSP.MockTweetSerializer(this.dt, "/url"); /* dummy serializer */
@@ -35,7 +35,7 @@
     },  
   teardown: function() {
     /* free the popcorn object because it has signal handlers attached to it */
-    this.Popcorn = Popcorn.youtube("#popcorn-div", "http://www.youtube.com/watch?v=QH2-TGUlwu4");
+    this.Popcorn = Popcorn("#popcorn-div");
   }});
   
   test("test widget initialization", function() {
@@ -76,4 +76,4 @@
   });
   
   
-}; 
\ No newline at end of file
+};