From 1f0f4b0f02ee294f13abfd530f50d793f7828197 Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Mon, 2 Feb 2015 10:51:31 -0800 Subject: [PATCH] Relax the id equality test for mongodb object ids --- test/relations.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/relations.test.js b/test/relations.test.js index cbc5225f..23ceb8ad 100644 --- a/test/relations.test.js +++ b/test/relations.test.js @@ -1821,7 +1821,7 @@ describe('relations', function () { function(err, act) { should.not.exist(e); act.supplierName.should.equal('Supplier A'); - act.supplierId.should.equal(supplierId); + act.supplierId.should.eql(supplierId); done(); }); });