Skip to content

Commit 9c4102f

Browse files
committed
update new_lexicon
using FieldDB/FieldDB@e5eae43
1 parent 14ff431 commit 9c4102f

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

test/integration/install.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,15 +378,17 @@ describe('install', () => {
378378
})
379379
.then((res) => {
380380
debug('res.body new_lexicon', res.body);
381-
expect(res.body.ok).to.equal(true);
381+
expect(res.body.ok).to.equal(true, JSON.stringify(res.body));
382382

383383
return supertest(destination)
384-
.get('/_all_dbs')
384+
.get(`/${dbnameToReplicate}/_design/lexicon/_view/lexiconNodes?group=true`)
385385
.set('Accept', 'application/json');
386386
})
387387
.then((res) => {
388388
debug('res.body new_lexicon after ', res.body);
389-
expect(res.body).includes(dbnameToReplicate);
389+
expect(res.body).to.deep.equal({
390+
rows: [],
391+
}, JSON.stringify(res.body));
390392
});
391393
});
392394
});

0 commit comments

Comments
 (0)