unittests/tests/layout.js
branchpopcorn-port
changeset 117 b0a699baf3f1
parent 113 ebfd0d17e427
child 159 de92bfdcbe4c
--- a/unittests/tests/layout.js	Fri Oct 21 14:07:07 2011 +0200
+++ b/unittests/tests/layout.js	Fri Oct 21 17:22:44 2011 +0200
@@ -17,7 +17,7 @@
   });
   
   test("test custom init of layout manager", function() {
-    var lay = new IriSP.LayoutManager({divId: "myDiv", width: 327, height: 542});
+    var lay = new IriSP.LayoutManager({container: "myDiv", width: 327, height: 542});
     equal(lay._div, "myDiv", "the default div is set correctly");
     equal(lay._width, 327, "the default width is set correctly");
     equal(lay._height, 542, "the default height is set correctly");