From 1ee5296ef23b4068b6a1b266c3ecdd72964e4b8d Mon Sep 17 00:00:00 2001 From: Ivan Pedrazas Date: Mon, 12 Dec 2016 16:38:29 +0000 Subject: [PATCH] add values to test --- plugin_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin_test.go b/plugin_test.go index 19d884a..9b9df77 100644 --- a/plugin_test.go +++ b/plugin_test.go @@ -51,11 +51,12 @@ func TestGetHelmCommand(t *testing.T) { DryRun: true, Chart: "./chart/test", Release: "test-release", + Values: "image.tag=v.0.1.0,nameOverride=my-over-app", }, } setHelmCommand(plugin) res := strings.Join(plugin.Config.HelmCommand[:], " ") - expected := "upgrade --install test-release ./chart/test --debug --dry-run" + expected := "upgrade --install test-release ./chart/test --debug --set image.tag=v.0.1.0,nameOverride=my-over-app --dry-run" if res != expected { t.Errorf("Result is %s and we expected %s", res, expected) }