update more kubectl bits for groupversion

This commit is contained in:
deads2k
2015-12-01 11:52:11 -05:00
parent 33eda2ffb5
commit 66eecb963a
20 changed files with 129 additions and 94 deletions

View File

@@ -170,15 +170,15 @@ func TestLabelsForObject(t *testing.T) {
func TestCanBeExposed(t *testing.T) {
factory := NewFactory(nil)
tests := []struct {
kind string
kind unversioned.GroupKind
expectErr bool
}{
{
kind: "ReplicationController",
kind: api.Kind("ReplicationController"),
expectErr: false,
},
{
kind: "Node",
kind: api.Kind("Node"),
expectErr: true,
},
}