Make help function use OperationConfig.json file

Tidy up Gruntfile execs
This commit is contained in:
d98762625 2018-07-06 11:13:38 +01:00
parent db7b52d84c
commit fa8736b1a4
8 changed files with 1396 additions and 165 deletions

View file

@ -115,7 +115,7 @@ TestRegister.addApiTests([
it("chef.help: should describe a operation", () => {
const result = chef.help("tripleDESDecrypt");
assert.strictEqual(result.name, "tripleDESDecrypt");
assert.strictEqual(result.name, "Triple DES Decrypt");
assert.strictEqual(result.module, "Ciphers");
assert.strictEqual(result.inputType, "string");
assert.strictEqual(result.outputType, "string");
@ -130,7 +130,7 @@ TestRegister.addApiTests([
it("chef.help: takes a wrapped operation as input", () => {
const result = chef.help(chef.toBase32);
assert.strictEqual(result.name, "toBase32");
assert.strictEqual(result.name, "To Base32");
assert.strictEqual(result.module, "Default");
})
]);