Jon Perritt | ed7055f | 2015-01-20 19:32:49 -0700 | [diff] [blame] | 1 | package serviceassets |
2 | |||||
3 | import ( | ||||
4 | "testing" | ||||
5 | |||||
6 | th "github.com/rackspace/gophercloud/testhelper" | ||||
7 | fake "github.com/rackspace/gophercloud/testhelper/client" | ||||
8 | ) | ||||
9 | |||||
10 | func TestDelete(t *testing.T) { | ||||
11 | th.SetupHTTP() | ||||
12 | defer th.TeardownHTTP() | ||||
13 | |||||
14 | HandleDeleteCDNAssetSuccessfully(t) | ||||
15 | |||||
16 | err := Delete(fake.ServiceClient(), "96737ae3-cfc1-4c72-be88-5d0e7cc9a3f0", nil).ExtractErr() | ||||
17 | th.AssertNoErr(t, err) | ||||
18 | } |