Expect(routeRepo.CreatedHost).To(Equal("tims-1st-crazy-app")) Expect(ui.Outputs).To(ContainSubstrings( []string{"Creating", "tims-1st-crazy-app.foo.cf-app.com"}, []string{"Binding", "tims-1st-crazy-app.foo.cf-app.com"}, )) Expect(ui.Outputs).ToNot(ContainSubstrings([]string{"FAILED"})) }) It("sets the app params from the flags", func() { domainRepo.FindByNameInOrgDomain = models.DomainFields{ Name: "bar.cf-app.com", Guid: "bar-domain-guid", } stackRepo.FindByNameStack = models.Stack{ Name: "customLinux", Guid: "custom-linux-guid", } callPush( "-c", "unicorn -c config/unicorn.rb -D", "-d", "bar.cf-app.com", "-n", "my-hostname", "-k", "4G", "-i", "3", "-m", "2G", "-b", "https://github.com/heroku/heroku-buildpack-play.git", "-s", "customLinux", "-t", "1", "--no-start", "my-new-app", )