Commit b704947d authored by Justin Scott's avatar Justin Scott

Fix broken tests due to "server-side" text change.

parent af4c243e
......@@ -67,7 +67,7 @@ func TestInitCmd(t *testing.T) {
if !actions[1].Matches("create", "services") {
t.Errorf("unexpected action: %v, expected create service", actions[1])
}
expected := "Tiller (the helm server side component) has been installed into your Kubernetes Cluster."
expected := "Tiller (the helm server-side component) has been installed into your Kubernetes Cluster."
if !strings.Contains(buf.String(), expected) {
t.Errorf("expected %q, got %q", expected, buf.String())
}
......
......@@ -32,7 +32,7 @@ import (
)
const resetDesc = `
This command uninstalls Tiller (the helm server side component) from your
This command uninstalls Tiller (the helm server-side component) from your
Kubernetes Cluster and optionally deletes local configuration in
$HELM_HOME (default ~/.helm/)
`
......@@ -114,7 +114,7 @@ func (d *resetCmd) run() error {
}
}
fmt.Fprintln(d.out, "Tiller (the helm server side component) has been uninstalled from your Kubernetes Cluster.")
fmt.Fprintln(d.out, "Tiller (the helm server-side component) has been uninstalled from your Kubernetes Cluster.")
return nil
}
......
......@@ -55,7 +55,7 @@ func TestResetCmd(t *testing.T) {
if len(actions) != 2 {
t.Errorf("Expected 2 actions, got %d", len(actions))
}
expected := "Tiller (the helm server side component) has been uninstalled from your Kubernetes Cluster."
expected := "Tiller (the helm server-side component) has been uninstalled from your Kubernetes Cluster."
if !strings.Contains(buf.String(), expected) {
t.Errorf("expected %q, got %q", expected, buf.String())
}
......@@ -89,7 +89,7 @@ func TestResetCmd_removeHelmHome(t *testing.T) {
if len(actions) != 2 {
t.Errorf("Expected 2 actions, got %d", len(actions))
}
expected := "Tiller (the helm server side component) has been uninstalled from your Kubernetes Cluster."
expected := "Tiller (the helm server-side component) has been uninstalled from your Kubernetes Cluster."
if !strings.Contains(buf.String(), expected) {
t.Errorf("expected %q, got %q", expected, buf.String())
}
......@@ -160,7 +160,7 @@ func TestReset_forceFlag(t *testing.T) {
if len(actions) != 2 {
t.Errorf("Expected 2 actions, got %d", len(actions))
}
expected := "Tiller (the helm server side component) has been uninstalled from your Kubernetes Cluster."
expected := "Tiller (the helm server-side component) has been uninstalled from your Kubernetes Cluster."
if !strings.Contains(buf.String(), expected) {
t.Errorf("expected %q, got %q", expected, buf.String())
}
......
......@@ -6,7 +6,7 @@ uninstalls Tiller from a cluster
This command uninstalls Tiller (the helm server side component) from your
This command uninstalls Tiller (the helm server-side component) from your
Kubernetes Cluster and optionally deletes local configuration in
$HELM_HOME (default ~/.helm/)
......@@ -40,4 +40,4 @@ helm reset
### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 23-Jun-2017
###### Auto generated by spf13/cobra on 26-Jun-2017
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment