updated the rest-spec, and fixed an error in the integration tests after switching to expect
This commit is contained in:
Submodule src/rest-api-spec updated: 2f5f78f24d...b3ab72486f
@ -114,7 +114,7 @@ function YamlDoc(doc, file) {
|
||||
var method = self['do_' + action.name];
|
||||
|
||||
// check that it's a function
|
||||
expect(method).to.have.type('function');
|
||||
expect(method).to.be.a('function');
|
||||
|
||||
if (_.isPlainObject(action.args)) {
|
||||
action.name += ' ' + _.keys(action.args).join(', ');
|
||||
|
||||
Reference in New Issue
Block a user