made bom tests more meaningful
This commit is contained in:
parent
f7733c1719
commit
2ce8aea8fc
1 changed files with 4 additions and 3 deletions
|
@ -60,15 +60,16 @@ vows.describe('nconf/stores/file').addBatch({
|
||||||
},
|
},
|
||||||
"should load the data correctly": function (err, data) {
|
"should load the data correctly": function (err, data) {
|
||||||
assert.isNull(err);
|
assert.isNull(err);
|
||||||
|
assert.deepEqual(data, this.store.store);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"the loadSync() method": {
|
"the loadSync() method": {
|
||||||
topic: function () {
|
topic: function () {
|
||||||
this.store.loadSync();
|
var data = this.store.loadSync();
|
||||||
return null;
|
return data;
|
||||||
},
|
},
|
||||||
"should load the data correctly": function (result) {
|
"should load the data correctly": function (result) {
|
||||||
assert.isNull(result);
|
assert.deepEqual(result, this.store.store);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue