Rackspace Auto Scale: Add policies Delete()
diff --git a/rackspace/autoscale/v1/policies/requests_test.go b/rackspace/autoscale/v1/policies/requests_test.go
index 8ee90f3..5684595 100644
--- a/rackspace/autoscale/v1/policies/requests_test.go
+++ b/rackspace/autoscale/v1/policies/requests_test.go
@@ -129,3 +129,14 @@
th.AssertNoErr(t, err)
}
+
+func TestDelete(t *testing.T) {
+ th.SetupHTTP()
+ defer th.TeardownHTTP()
+ HandlePolicyDeleteSuccessfully(t)
+
+ client := client.ServiceClient()
+ err := Delete(client, groupID, webhookPolicyID).ExtractErr()
+
+ th.AssertNoErr(t, err)
+}