Relax the id equality test for mongodb object ids
This commit is contained in:
parent
4304b9a32d
commit
1f0f4b0f02
|
@ -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();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue