diff -r dcf7121b1202 -r 440ffc18f827 unittests/tests/widgets/sliderWidget.js --- a/unittests/tests/widgets/sliderWidget.js Wed Dec 07 14:31:47 2011 +0100 +++ b/unittests/tests/widgets/sliderWidget.js Wed Dec 07 17:12:04 2011 +0100 @@ -1,7 +1,7 @@ function test_slider_widget() { module("slider 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"); }}); test("test widget initialization", function() {