diff -r b3ee7d1b472a -r 64c2eaafe5e2 unittests/tests/module.js --- a/unittests/tests/module.js Fri Jun 29 16:22:52 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"); - }); -};