testassert.SliceContains(ui.Outputs, testassert.Lines{ {"Using", "my-new-app.foo.cf-app.com"}, {"Binding", "my-new-app.foo.cf-app.com"}, {"OK"}, }) }) It("creates an app from the flags provided on the command line", func() { domainRepo.FindByNameInOrgDomain = models.DomainFields{ Name: "bar.cf-app.com", Guid: "bar-domain-guid", } routeRepo.FindByHostAndDomainErr = true stackRepo.FindByNameStack = models.Stack{ Name: "customLinux", Guid: "custom-linux-guid", } appRepo.ReadNotFound = true callPush( "-c", "unicorn -c config/unicorn.rb -D", "-d", "bar.cf-app.com", "-n", "my-hostname", "-i", "3", "-m", "2G", "-b", "https://github.com/heroku/heroku-buildpack-play.git", "-s", "customLinux", "-t", "1", "--no-start", "my-new-app", )