unittests/tests/widgets/annotationsWidget.js
branchbugslaying-after-r417-merge
changeset 427 440ffc18f827
parent 309 49c2b9e63591
--- a/unittests/tests/widgets/annotationsWidget.js	Wed Dec 07 14:31:47 2011 +0100
+++ b/unittests/tests/widgets/annotationsWidget.js	Wed Dec 07 17:12:04 2011 +0100
@@ -3,7 +3,7 @@
 function test_annotations_widget() {
   module("annotations 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 */
@@ -20,7 +20,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");
   }
   });
   
@@ -40,4 +40,4 @@
     equal(widget.selector.find(".Ldt-SaDescription").text(), "description", "description set correctly");
     equal(widget.selector.find(".Ldt-SaKeywordText").text(), "", "keywords field set correctly");
   });
-}; 
\ No newline at end of file
+};