Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

This reverts commit 7538601.
  • Loading branch information...
commit 3eb6869174e954e53e24f8d68384adcbefe14ea8 1 parent 3613f6e
Raymond Feng authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/basic-querying.test.js
2  test/basic-querying.test.js
View
@@ -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());
Please sign in to comment.
Something went wrong with that request. Please try again.