fix incrObjectFieldBy test

This commit is contained in:
barisusakli
2014-12-30 18:52:23 -05:00
parent 74a3977d42
commit ee820341d5

View File

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