fix isObjectField test

This commit is contained in:
barisusakli
2014-12-30 18:46:46 -05:00
parent 9af3007f3d
commit e6244c547a

View File

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