Binding
1) should specify bind as unsupported
0 passing (1s)
1 failing
1) Binding should specify bind as unsupported:
Error: Not Implemented
at Test.Request.callback (node_modules/chai-http/node_modules/superagent/lib/node/index.js:792:17)
at IncomingMessage.<anonymous> (node_modules/chai-http/node_modules/superagent/lib/node/index.js:990:12)
at endReadableNT (_stream_readable.js:903:12)
Here is what the test looks like
it('should specify bind as unsupported', function (done) {
chai.request(config.url)
.put('/v2/service_bindings/bindingId')
.set(utils.Content_Type, utils.application_json)
.set(utils.Accept, utils.application_json)
.then(function (res) {
console.log(res.body);
expect(res).to.have.status(501);
done();
})
.catch(function (err) {
done(err);
});
});