"my-new-app", ) testassert.SliceContains(ui.Outputs, testassert.Lines{ {"FAILED"}, {"invalid", "timeout"}, }) }) It("resets the app's command when the -c flag is provided as 'null'", func() { existingApp := models.Application{} existingApp.Name = "existing-app" existingApp.Guid = "existing-app-guid" existingApp.Command = "unicorn -c config/unicorn.rb -D" appRepo.ReadApp = existingApp callPush("-c", "null", "existing-app") Expect(*appRepo.UpdateParams.Command).To(Equal("")) }) It("merges env vars from the manifest with those from the server", func() { existingApp := maker.NewApp(maker.Overrides{"name": "existing-app"}) existingApp.EnvironmentVars = map[string]string{ "crazy": "pants", "FOO": "NotYoBaz", "foo": "manchu", } appRepo.ReadApp = existingApp