193
193
err := ioutil.WriteFile(resourceFile, []byte(resourceContent), 0644)
194
194
c.Assert(err, jc.ErrorIsNil)
196
ctx, err := testing.RunCommand(c, application.NewDeployCommand(), "trusty/starsay", "--resource", "upload-resource="+resourceFile)
196
ctx, err := testing.RunCommand(c, application.NewDefaultDeployCommand(), "trusty/starsay", "--resource", "upload-resource="+resourceFile)
197
197
c.Assert(err, jc.ErrorIsNil)
198
198
output := testing.Stderr(ctx)