Merge pull request #1367 from strongloop/fix_testcase_order

Fix assert as array does not guarantee order
This commit is contained in:
Candy 2017-05-23 13:45:42 -04:00 committed by GitHub
commit 4ebc421c11
1 changed files with 1 additions and 1 deletions

View File

@ -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]);
});
});