[test] Update tests to use optional options API

This commit is contained in:
indexzero 2011-11-24 00:15:07 -05:00
parent 53d854a789
commit 90b029782e

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');