}, }, } }) It("returns the proper CatalogResponse", func() { brokerCatalog := sqsBroker.Services() Expect(brokerCatalog).To(Equal(properCatalogResponse)) }) }) var _ = Describe("Provision", func() { var ( provisionDetails brokerapi.ProvisionDetails acceptsIncomplete bool properProvisioningResponse brokerapi.ProvisioningResponse ) BeforeEach(func() { provisionDetails = brokerapi.ProvisionDetails{ OrganizationGUID: "organization-id", PlanID: "Plan-1", ServiceID: "Service-1", SpaceGUID: "space-id", Parameters: map[string]interface{}{}, } acceptsIncomplete = false properProvisioningResponse = brokerapi.ProvisioningResponse{} })
}, }, } }) It("returns the proper CatalogResponse", func() { brokerCatalog := cfBroker.Services() Expect(brokerCatalog).To(Equal(properCatalogResponse)) }) }) var _ = Describe("Provision", func() { var ( provisionDetails brokerapi.ProvisionDetails acceptsIncomplete bool properProvisioningResponse brokerapi.ProvisioningResponse ) BeforeEach(func() { provisionDetails = brokerapi.ProvisionDetails{ OrganizationGUID: "organization-id", PlanID: "Plan-1", ServiceID: "Service-1", SpaceGUID: "space-id", Parameters: map[string]interface{}{}, } acceptsIncomplete = true properProvisioningResponse = brokerapi.ProvisioningResponse{} })