1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[rackspace|autoscale] updating tests to reflect formatting changes

This commit is contained in:
Kyle Rames 2013-10-15 11:13:57 -05:00
parent fd12f680cb
commit ee40447034

View file

@ -4,27 +4,25 @@ LIST_GROUPS_FORMAT =
{ "groups_links"=>[], { "groups_links"=>[],
"groups"=> [ "groups"=> [
{ {
"paused"=> Fog::Boolean, "state" => {
"desiredCapacity"=> Integer, "paused"=> Fog::Boolean,
"links"=>[{"href"=> String, "rel"=> String}], "desiredCapacity"=> Integer,
"active"=>[], "active"=>[],
"pendingCapacity"=> Integer, "pendingCapacity"=> Integer,
"activeCapacity"=> Integer, "activeCapacity"=> Integer,
"id"=> String, "name"=> String
"name"=> String
} }
] }
]
} }
GROUP_STATE_FORMAT = { GROUP_STATE_FORMAT = {
"group" => { "group" => {
"paused"=> Fog::Boolean, "paused"=> Fog::Boolean,
"desiredCapacity" => Integer, "desiredCapacity" => Integer,
"links"=>[{"href" => String, "rel"=> String}],
"active"=>[], "active"=>[],
"pendingCapacity" => Integer, "pendingCapacity" => Integer,
"activeCapacity" => Integer, "activeCapacity" => Integer,
"id" => String,
"name"=> String "name"=> String
} }
} }