diff --git a/test/basic-querying.test.js b/test/basic-querying.test.js index 03da990d..9bf0cf3c 100644 --- a/test/basic-querying.test.js +++ b/test/basic-querying.test.js @@ -467,7 +467,7 @@ describe('basic-querying', function() { return User.find({where: {seq: {inq: [0, 1, 100]}}}) .then(function(result) { var seqsFound = result.map(function(r) { return r.seq; }); - should(seqsFound).eql([0, 1]); + should(seqsFound.sort()).eql([0, 1]); }); });