From ee404470347001e3583b7ef35b9d4db6dbbe9245 Mon Sep 17 00:00:00 2001 From: Kyle Rames Date: Tue, 15 Oct 2013 11:13:57 -0500 Subject: [PATCH] [rackspace|autoscale] updating tests to reflect formatting changes --- tests/rackspace/requests/auto_scale/helper.rb | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/tests/rackspace/requests/auto_scale/helper.rb b/tests/rackspace/requests/auto_scale/helper.rb index e62249daa..c63ec80f3 100644 --- a/tests/rackspace/requests/auto_scale/helper.rb +++ b/tests/rackspace/requests/auto_scale/helper.rb @@ -4,27 +4,25 @@ LIST_GROUPS_FORMAT = { "groups_links"=>[], "groups"=> [ { - "paused"=> Fog::Boolean, - "desiredCapacity"=> Integer, - "links"=>[{"href"=> String, "rel"=> String}], - "active"=>[], - "pendingCapacity"=> Integer, - "activeCapacity"=> Integer, - "id"=> String, - "name"=> String + "state" => { + "paused"=> Fog::Boolean, + "desiredCapacity"=> Integer, + "active"=>[], + "pendingCapacity"=> Integer, + "activeCapacity"=> Integer, + "name"=> String } - ] + } + ] } GROUP_STATE_FORMAT = { "group" => { "paused"=> Fog::Boolean, "desiredCapacity" => Integer, - "links"=>[{"href" => String, "rel"=> String}], "active"=>[], "pendingCapacity" => Integer, "activeCapacity" => Integer, - "id" => String, "name"=> String } }