unittests/tests/widgets/tooltipWidget.js
branchbugslaying-after-r417-merge
changeset 427 440ffc18f827
parent 234 43b198dc932d
child 492 97c920842123
--- a/unittests/tests/widgets/tooltipWidget.js	Wed Dec 07 14:31:47 2011 +0100
+++ b/unittests/tests/widgets/tooltipWidget.js	Wed Dec 07 17:12:04 2011 +0100
@@ -3,7 +3,7 @@
 function test_tooltip_widget() {
   module("tooltip 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.MockSerializer(this.dt, "/url"); /* dummy serializer */
@@ -17,7 +17,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");
   }
   });
   
@@ -44,4 +44,4 @@
     equal(widget.selector.children(".tip").css("left"), "-10000px", "test if div has been positionned correctly");
     equal(widget.selector.children(".tip").css("top"), "-100000px", "test if div has been positionned correctly");
   });
-}; 
\ No newline at end of file
+};