Skip to content

Commit

Permalink
[test] Added failing test to illustrate #65
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Dec 20, 2012
1 parent bcbaf3a commit f19f0b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/stores/memory-store-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f19f0b6

Please sign in to comment.