Merge pull request #1364 from strongloop/query-order
Fix order of query results
This commit is contained in:
commit
6342a0387f
|
@ -341,8 +341,8 @@ describe('basic-querying', function() {
|
|||
should.not.exist(err);
|
||||
should.exist(users);
|
||||
users.should.have.property('length', 2);
|
||||
users[0].name.should.equal('John Lennon');
|
||||
users[1].name.should.equal('Paul McCartney');
|
||||
should(users[0].name).be.oneOf('John Lennon', 'Paul McCartney');
|
||||
should(users[1].name).be.oneOf('John Lennon', 'Paul McCartney');
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue