Enabled: false, }, { Name: "app_bits_upload", Enabled: true, }, { Name: "app_scaling", Enabled: true, }, { Name: "route_creation", Enabled: false, }, } flagRepo.ListReturns(flags, nil) }) It("lists the state of all feature flags", func() { runCommand() Expect(ui.Outputs()).To(ContainSubstrings( []string{"Retrieving status of all flagged features as my-user..."}, []string{"Feature", "State"}, []string{"user_org_creation", "enabled"}, []string{"private_domain_creation", "disabled"}, []string{"app_bits_upload", "enabled"}, []string{"app_scaling", "enabled"}, []string{"route_creation", "disabled"}, )) })