app.RunningInstances = 1 app.InstanceCount = 1 app.Memory = 512 app.DiskQuota = 1024 app.Routes = app1Routes app2 := models.Application{} app2.Name = "Application-2" app2.State = "started" app2.RunningInstances = 1 app2.InstanceCount = 2 app2.Memory = 256 app2.DiskQuota = 1024 app2.Routes = app2Routes appSummaryRepo.GetSummariesInCurrentSpaceApps = []models.Application{app, app2} runCommand() testassert.SliceContains(ui.Outputs, testassert.Lines{ {"Getting apps in", "my-org", "my-space", "my-user"}, {"OK"}, {"Application-1", "started", "1/1", "512M", "1G", "app1.cfapps.io", "app1.example.com"}, {"Application-2", "started", "1/2", "256M", "1G", "app2.cfapps.io"}, }) }) Context("when there are no apps", func() { It("tells the user that there are no apps", func() { runCommand() testassert.SliceContains(ui.Outputs, testassert.Lines{