diff -r 27b248a13355 -r 8a6c9e3d0158 unittests/tests/module.js --- a/unittests/tests/module.js Thu May 24 15:05:47 2012 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -/* test module for base widgets */ -function test_module() { - module("Base module testing", - {setup : function() { - this.Popcorn = Popcorn("#popcorn-div"); - - this.dt = new IriSP.DataLoader(); - this.ser = new IriSP.JSONSerializer(this.dt, "/url"); - } } - ); - - test("test initialisation", function() { - var config = { a : 540}; - var mod = new IriSP.Module(this.Popcorn, config, this.ser); - deepEqual(mod._config, config, "Check that config is copied correctly"); - }); -};