Relax the id equality test for mongodb object ids

This commit is contained in:
Raymond Feng 2015-02-02 10:51:31 -08:00
parent 4304b9a32d
commit 1f0f4b0f02
1 changed files with 1 additions and 1 deletions

View File

@ -1821,7 +1821,7 @@ describe('relations', function () {
function(err, act) { function(err, act) {
should.not.exist(e); should.not.exist(e);
act.supplierName.should.equal('Supplier A'); act.supplierName.should.equal('Supplier A');
act.supplierId.should.equal(supplierId); act.supplierId.should.eql(supplierId);
done(); done();
}); });
}); });