[test] More tests for nested object literals

master
indexzero 2011-03-31 04:12:43 -04:00
parent 4c8e7a5b7f
commit 772de110bb
1 changed files with 8 additions and 0 deletions

View File

@ -82,6 +82,14 @@ vows.describe('nconf/stores/redis').addBatch({
"should respond with the correct value": function (err, value) {
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);
}
}
}
}