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:
parent
fd12f680cb
commit
ee40447034
1 changed files with 9 additions and 11 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue