[test] More tests for nested object literals

This commit is contained in:
indexzero 2011-03-31 04:12:43 -04:00
parent 4c8e7a5b7f
commit 772de110bb

View file

@ -82,6 +82,14 @@ vows.describe('nconf/stores/redis').addBatch({
"should respond with the correct value": function (err, value) { "should respond with the correct value": function (err, value) {
assert.deepEqual(value, data.obj); assert.deepEqual(value, data.obj);
} }
},
"with a nested Object value": {
topic: function (store) {
store.get('foo:object:auth', this.callback);
},
"should respond with the correct value": function (err, value) {
assert.deepEqual(value, data.obj.auth);
}
} }
} }
} }