[fix] heirarchy fixture file path wrong in tests
This commit is contained in:
parent
683f78918c
commit
7421836387
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue