updated the rest-spec, and fixed an error in the integration tests after switching to expect

This commit is contained in:
Spencer Alger
2013-12-23 18:00:00 -07:00
parent 0abe9df9a8
commit 74612864e2
2 changed files with 2 additions and 2 deletions

View File

@ -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(', ');