[test] Update tests to use optional options API
This commit is contained in:
parent
53d854a789
commit
90b029782e
1 changed files with 2 additions and 4 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue