This commit is contained in:
Chao Xu
2015-06-22 16:27:44 -07:00
parent 22f1b07858
commit 59b654c996
6 changed files with 28 additions and 28 deletions

View File

@@ -28,7 +28,7 @@ import (
func TestNewClient(t *testing.T) {
o := NewObjects(api.Scheme, api.Scheme)
if err := AddObjectsFromPath("../../../examples/guestbook/frontend-service.json", o, api.Scheme); err != nil {
if err := AddObjectsFromPath("../../../examples/guestbook/frontend-service.yaml", o, api.Scheme); err != nil {
t.Fatal(err)
}
client := &Fake{ReactFn: ObjectReaction(o, latest.RESTMapper)}