Skip to content

Commit

Permalink
[test] Update tests to use optional options API
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Nov 24, 2011
1 parent 53d854a commit 90b0297
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/stores/literal-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 90b0297

Please sign in to comment.