From e6244c547a14bd02837f617ec9bb0cd831cb5e61 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 30 Dec 2014 18:46:46 -0500 Subject: [PATCH] fix isObjectField test --- tests/database/hash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/database/hash.js b/tests/database/hash.js index e72082b49d..48012396d9 100644 --- a/tests/database/hash.js +++ b/tests/database/hash.js @@ -211,7 +211,7 @@ describe('Hash methods', function() { }); it('should return true if field exists', function(done) { - db.isObjectField('testObject1', function(err, value) { + db.isObjectField('testObject1', 'lastname', function(err, value) { assert.equal(err, null); assert.equal(arguments.length, 2); assert.equal(value, true);