QuickDeleteSpace deletes the space with the given name, if it exists, using 'cf curl /v3/spaces... -X DELETE'.
(spaceName string)
| 144 | // QuickDeleteSpace deletes the space with the given name, if it exists, using |
| 145 | // 'cf curl /v3/spaces... -X DELETE'. |
| 146 | func QuickDeleteSpace(spaceName string) { |
| 147 | guid := GetSpaceGUID(spaceName) |
| 148 | url := fmt.Sprintf("/v3/spaces/%s", guid) |
| 149 | session := CF("curl", "-X", "DELETE", url) |
| 150 | Eventually(session).Should(Exit(0)) |
| 151 | } |
no test coverage detected