We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14ff431 commit 9c4102fCopy full SHA for 9c4102f
1 file changed
test/integration/install.js
@@ -378,15 +378,17 @@ describe('install', () => {
378
})
379
.then((res) => {
380
debug('res.body new_lexicon', res.body);
381
- expect(res.body.ok).to.equal(true);
+ expect(res.body.ok).to.equal(true, JSON.stringify(res.body));
382
383
return supertest(destination)
384
- .get('/_all_dbs')
+ .get(`/${dbnameToReplicate}/_design/lexicon/_view/lexiconNodes?group=true`)
385
.set('Accept', 'application/json');
386
387
388
debug('res.body new_lexicon after ', res.body);
389
- expect(res.body).includes(dbnameToReplicate);
+ expect(res.body).to.deep.equal({
390
+ rows: [],
391
+ }, JSON.stringify(res.body));
392
});
393
394
0 commit comments