Revert "Fix the test case so that it passes in the same filter"

This reverts commit 7538601b79.
This commit is contained in:
Raymond Feng 2013-04-15 16:50:49 -07:00
parent 3613f6e22f
commit 3eb6869174
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ describe('basic-querying', function() {
it('should find first record (default sort by id)', function(done) {
User.all({order: 'id'}, function(err, users) {
User.findOne({order: 'id'}, function(e, u) {
User.findOne(function(e, u) {
should.not.exist(e);
should.exist(u);
u.id.toString().should.equal(users[0].id.toString());