added browser tests, modified ci script, removed testing for version 0.90.x

This commit is contained in:
Spencer Alger
2014-01-10 11:23:08 -07:00
parent 3490479eee
commit 3223fb4a6d
20 changed files with 194 additions and 91 deletions

View File

@ -3513,6 +3513,9 @@ api.search = ca({
type: 'list'
}
}
},
{
fmt: '/_search'
}
],
method: 'POST'

View File

@ -213,10 +213,8 @@ function exec(transport, spec, params, cb) {
if (!request.path) {
// there must have been some mimimun requirements that were not met
throw new TypeError(
'Unable to build a path with those params. Supply at least ' +
_.keys(spec.urls[spec.urls.length - 1].req).join(', ')
);
var minUrl = spec.url || spec.urls[spec.urls.length - 1];
throw new TypeError('Unable to build a path with those params. Supply at least ' + _.keys(minUrl.req).join(', '));
}
// build the query string