| author | hamidouk |
| Fri, 21 Oct 2011 17:25:09 +0200 | |
| branch | popcorn-port |
| changeset 119 | 29d6d634cbdf |
| parent 118 | 695e1086ddd2 |
| child 120 | 35d91e67e972 |
--- a/unittests/tests/widget.js Fri Oct 21 17:23:01 2011 +0200 +++ b/unittests/tests/widget.js Fri Oct 21 17:25:09 2011 +0200 @@ -10,7 +10,7 @@ ); test("test initialisation", function() { - var config = {divId: "mydiv"}; + var config = { gui : { container: "mydiv"} }; 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");