Node.js based forum software built for the modern web
fix incrObjectFieldBy test
barisusakliee820341d551
diff --git a/tests/database/hash.js b/tests/database/hash.jsindex 34f6179428..2086dc1af7 100644--- a/tests/database/hash.js+++ b/tests/database/hash.js@@ -285,7 +285,7 @@ describe('Hash methods', function() {});it('should increment an object fields by passed in value and return it', function(done) {- db.decrObjectField('testObject1', 'age', 11, function(err, newValue) {+ db.incrObjectFieldBy('testObject1', 'age', 11, function(err, newValue) {assert.equal(err, null);assert.equal(arguments.length, 2);assert.equal(newValue, 110);@@ -296,7 +296,6 @@ describe('Hash methods', function() {-after(function() {db.flushdb();});