made bom tests more meaningful
This commit is contained in:
parent
2ce8aea8fc
commit
6641ed234a
1 changed files with 4 additions and 3 deletions
|
@ -85,15 +85,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