[fix] heirarchy fixture file path wrong in tests

This commit is contained in:
Bradley Meck 2012-09-07 09:40:15 -05:00
parent 683f78918c
commit 7421836387

View file

@ -141,7 +141,7 @@ vows.describe('nconf/provider').addBatch({
}), }),
"with a single object": assertProvider(function (provider) { "with a single object": assertProvider(function (provider) {
provider.file({ provider.file({
dir: helpers.fixture('hierarchy'), dir: helpers.fixture(''),
file: 'store.json', file: 'store.json',
search: true search: true
}); });
@ -151,7 +151,7 @@ vows.describe('nconf/provider').addBatch({
}), }),
"with a name and an object": assertProvider(function (provider) { "with a name and an object": assertProvider(function (provider) {
provider.file('custom', { provider.file('custom', {
dir: helpers.fixture('hierarchy'), dir: helpers.fixture(''),
file: 'store.json', file: 'store.json',
search: true search: true
}); });