fix test chart path change from rebase

nit: fix spelling of dependency
pull/1923/head
Qin Wang 8 years ago
parent 0153d273ce
commit 4b6b847b69

@ -46,7 +46,7 @@ For example,
dependencies:
- name: nginx
version: "1.2.3"
repository: "file://../depedency_chart/nginx"
repository: "file://../dependency_chart/nginx"
If the dependency chart is retrieved locally, it is not required to have the repository
added to helm by "helm add repo". Version matching is also supported for this case.

@ -81,12 +81,12 @@ func TestResolve(t *testing.T) {
name: "repo from valid local path",
req: &chartutil.Requirements{
Dependencies: []*chartutil.Dependency{
{Name: "signtest", Repository: "file://../testdata/testcharts/signtest", Version: "0.1.0"},
{Name: "signtest", Repository: "file://../../cmd/helm/testdata/testcharts/signtest", Version: "0.1.0"},
},
},
expect: &chartutil.RequirementsLock{
Dependencies: []*chartutil.Dependency{
{Name: "signtest", Repository: "file://../testdata/testcharts/signtest", Version: "0.1.0"},
{Name: "signtest", Repository: "file://../../cmd/helm/testdata/testcharts/signtest", Version: "0.1.0"},
},
},
},

Loading…
Cancel
Save