Updating bulk JSON content type

This commit is contained in:
Shaunak Kashyap
2017-02-22 04:24:07 -08:00
parent d2c642f50f
commit c7551f7914
2 changed files with 2 additions and 2 deletions

View File

@ -505,7 +505,7 @@ describe('Transport Class', function () {
];
stub(conn, 'request', function (params) {
expect(params.headers).to.have.property('content-type', 'application/x-ldjson');
expect(params.headers).to.have.property('content-type', 'application/x-ndjson');
expect(params.body).to.eql(
'{"_id":"simple body"}\n' +
'{"name":"ഢധയമബ"}\n'