rackspace cdn service assets acceptance tests
diff --git a/acceptance/rackspace/cdn/v1/serviceasset_test.go b/acceptance/rackspace/cdn/v1/serviceasset_test.go
new file mode 100644
index 0000000..1840946
--- /dev/null
+++ b/acceptance/rackspace/cdn/v1/serviceasset_test.go
@@ -0,0 +1,32 @@
+// +build acceptance
+
+package v1
+
+import (
+ "testing"
+
+ "github.com/rackspace/gophercloud"
+ osServiceAssets "github.com/rackspace/gophercloud/openstack/cdn/v1/serviceassets"
+ "github.com/rackspace/gophercloud/rackspace/cdn/v1/serviceassets"
+ th "github.com/rackspace/gophercloud/testhelper"
+)
+
+func TestServiceAsset(t *testing.T) {
+ client := newClient(t)
+
+ t.Log("Creating Service")
+ loc := testServiceCreate(t, client)
+ t.Logf("Created service at location: %s", loc)
+
+ t.Log("Deleting Service Assets")
+ testServiceAssetDelete(t, client, loc)
+}
+
+func testServiceAssetDelete(t *testing.T, client *gophercloud.ServiceClient, url string) {
+ deleteOpts := osServiceAssets.DeleteOpts{
+ All: true,
+ }
+ err := serviceassets.Delete(client, url, deleteOpts).ExtractErr()
+ th.AssertNoErr(t, err)
+ t.Log("Successfully deleted all Service Assets")
+}