Commit 77f178cb authored by Eirik Alvær's avatar Eirik Alvær
Browse files

fixes error

parent c9f1e02a
......@@ -254,10 +254,10 @@ function CommandExecutor() {
}
},
getSyntax: function (command) {
getParameters: function (command) {
if (helpTexts[command]) {
/*jslint sub: true */
return helpTexts[command]["syntax"];
return helpTexts[command]["parameters"];
}
}
};
......
......@@ -92,9 +92,9 @@ describe('Tests', function () {
});
});
describe('#getParamters', function () {
describe('#getParameters', function () {
it('should return the parameters for given command', function (done) {
var result = ce.getParamters("correlate");
var result = ce.getParameters("correlate");
assert(result.length > 5, "parameters for correlate is too short");
done();
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment