[fix test] Fix bad test assertion

master
indexzero 2012-01-02 17:27:09 -05:00
parent 6a6e092062
commit 464af417fe
1 changed files with 10 additions and 2 deletions

View File

@ -81,7 +81,11 @@ vows.describe('nconf').addBatch({
"the load() method": {
"without a callback": {
"should respond with the merged store": function () {
assert.deepEqual(nconf.load(), { foo: { bar: {} } });
assert.deepEqual(nconf.load(), {
title: 'My specific title',
color: 'green',
movie: 'Kill Bill'
});
}
},
"with a callback": {
@ -90,7 +94,11 @@ vows.describe('nconf').addBatch({
},
"should respond with the merged store": function (ign, err, store) {
assert.isNull(err);
assert.deepEqual(store, { foo: { bar: {} } });
assert.deepEqual(store, {
title: 'My specific title',
color: 'green',
movie: 'Kill Bill'
});
}
}
},