unittests/tests/init.js
branchpopcorn-port
changeset 179 7b46fbf4cf6c
parent 171 158f0193ec54
child 287 5c7495102bd7
--- a/unittests/tests/init.js	Thu Nov 03 13:10:31 2011 +0100
+++ b/unittests/tests/init.js	Thu Nov 03 13:10:47 2011 +0100
@@ -86,6 +86,7 @@
               
     var res = IriSP.instantiateWidget(pop, serialFactory, layoutManager, conf);    
     ok(res instanceof IriSP.PlayerWidget, "the returned widget is of the correct instance");
+    equal(res._config.mode, "radio", "the parameters not interpreted by the config are copied into the object");
   });  
   
   test("test the instantiation of a single widget with one dependency", function() {