[test] Added failing test to illustrate #65

master
indexzero 2012-12-20 14:01:04 -05:00
parent bcbaf3a133
commit f19f0b6c39
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ vows.describe('nconf/stores/memory').addBatch({
"the get() method": {
"should respond with the correct value": function (store) {
assert.equal(store.get('foo:bar:bazz'), 'buzz');
assert.isUndefined(store.get('foo:bar:bazz:buzz:bizz'));
assert.equal(store.get('falsy:number'), 0);
assert.equal(store.get('falsy:string'), '');
assert.equal(store.get('falsy:boolean'), false);