[test] More tests for nested object literals
This commit is contained in:
parent
4c8e7a5b7f
commit
772de110bb
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue