[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({
|
vows.describe('nconf/stores/literal').addBatch({
|
||||||
"An instance of nconf.Literal": {
|
"An instance of nconf.Literal": {
|
||||||
topic: new nconf.Literal({
|
topic: new nconf.Literal({
|
||||||
store: {
|
foo: 'bar',
|
||||||
foo: 'bar',
|
one: 2
|
||||||
one: 2
|
|
||||||
}
|
|
||||||
}),
|
}),
|
||||||
"should have the correct methods defined": function (literal) {
|
"should have the correct methods defined": function (literal) {
|
||||||
assert.equal(literal.type, 'literal');
|
assert.equal(literal.type, 'literal');
|
||||||
|
|
Loading…
Reference in a new issue