UT: Add test for send_xns.

This commit is contained in:
Arthur Britto
2012-10-07 00:19:45 -07:00
parent 78bc3f54ad
commit d4db971fdd
2 changed files with 11 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ Server.method('serverSpawnSync', function() {
config.newcoind,
[
"-a",
"-v",
"--conf=newcoind.cfg"
],
{

View File

@@ -184,6 +184,16 @@ buster.testCase("Websocket commands", {
});
});
},
'create account' :
function (done) {
alpha.send_xns(undefined, 'root', 'alice', 10000, true, function (r) {
console.log(r);
buster.refute(r.error);
done();
});
},
});
// vim:sw=2:sts=2:ts=8