fix for Rackspace Home Document unit test
diff --git a/rackspace/cdn/v1/base/delegate_test.go b/rackspace/cdn/v1/base/delegate_test.go
index 2980656..3c05801 100644
--- a/rackspace/cdn/v1/base/delegate_test.go
+++ b/rackspace/cdn/v1/base/delegate_test.go
@@ -17,21 +17,19 @@
th.CheckNoErr(t, err)
expected := os.HomeDocument{
- "rel/cdn": `{
- "href-template": "services{?marker,limit}",
- "href-vars": {
- "marker": "param/marker",
- "limit": "param/limit"
- },
- "hints": {
- "allow": [
- "GET"
- ],
- "formats": {
- "application/json": {}
- }
- }
- }`,
+ "rel/cdn": map[string]interface{}{
+ "href-template": "services{?marker,limit}",
+ "href-vars": map[string]interface{}{
+ "marker": "param/marker",
+ "limit": "param/limit",
+ },
+ "hints": map[string]interface{}{
+ "allow": []string{"GET"},
+ "formats": map[string]interface{}{
+ "application/json": map[string]interface{}{},
+ },
+ },
+ },
}
th.CheckDeepEquals(t, expected, *actual)
}