[test] Update tests to use optional options API

master
indexzero 2011-11-24 00:15:07 -05:00
parent 53d854a789
commit 90b029782e
1 changed files with 2 additions and 4 deletions

View File

@ -13,10 +13,8 @@ var vows = require('vows'),
vows.describe('nconf/stores/literal').addBatch({
"An instance of nconf.Literal": {
topic: new nconf.Literal({
store: {
foo: 'bar',
one: 2
}
foo: 'bar',
one: 2
}),
"should have the correct methods defined": function (literal) {
assert.equal(literal.type, 'literal');