unittests/tests/widget.js
branchpopcorn-port
changeset 124 2758dfb208b2
parent 119 29d6d634cbdf
child 170 5150ae56e0a6
--- a/unittests/tests/widget.js	Fri Oct 21 17:27:04 2011 +0200
+++ b/unittests/tests/widget.js	Mon Oct 24 12:42:15 2011 +0200
@@ -10,7 +10,7 @@
   );
   
   test("test initialisation", function() {
-    var config = { gui : { container: "mydiv"} };
+    var config = { container: "mydiv", width: 640, height: 480};
     var wid = new IriSP.Widget(this.Popcorn, config, this.ser);
     deepEqual(wid._config, config, "Check if the parent div is set correctly");
     ok(wid.selector, "Check if the jquery selector is set");