From 464af417fe687f852cbae4b927918d3a00fbb583 Mon Sep 17 00:00:00 2001 From: indexzero Date: Mon, 2 Jan 2012 17:27:09 -0500 Subject: [PATCH] [fix test] Fix bad test assertion --- test/nconf-test.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/test/nconf-test.js b/test/nconf-test.js index 677b141..00682bd 100644 --- a/test/nconf-test.js +++ b/test/nconf-test.js @@ -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' + }); } } },