Addressing final review comments.

This commit is contained in:
ahocevar
2012-08-18 18:56:36 +02:00
parent 88572303fb
commit e04d7cd627
4 changed files with 33 additions and 6 deletions
+13
View File
@@ -87,6 +87,19 @@
client.execute({inputs: 'a', success: 'b', scope: 'c'});
t.eq(log[0], {inputs: 'a', success: 'b', scope: 'c'}, "process executed with correct options");
}
function test_destroy(t) {
t.plan(2);
client = new OpenLayers.WPSClient({
servers: {
local: "/geoserver/wps"
},
lazy: true
});
client.destroy();
t.eq(client.events, null, "Events nullified");
t.eq(client.servers, null, "Servers nullified");
}
</script>
</head>