mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Fixing minor issues with doc annotations, removing unused file, adding Shindo tests
This commit is contained in:
parent
37eda0617e
commit
19d3b40c0f
1 changed files with 0 additions and 37 deletions
|
@ -1,37 +0,0 @@
|
|||
module Fog
|
||||
module Rackspace
|
||||
class AutoScale
|
||||
|
||||
class Real
|
||||
|
||||
def update_config(group_id)
|
||||
|
||||
h = {
|
||||
"name" => "workers",
|
||||
"cooldown" => 60,
|
||||
"minEntities" => 0,
|
||||
"maxEntities" => 0,
|
||||
"metadata" => {
|
||||
"firstkey" => "this is a string",
|
||||
"secondkey" => "1"
|
||||
}
|
||||
}
|
||||
|
||||
request(
|
||||
:expects => [204],
|
||||
:method => 'PUT',
|
||||
:path => "groups/#{group_id}/config",
|
||||
:body => Fog::JSON.encode(h)
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
class Mock
|
||||
def update_config(group_id)
|
||||
Fog::Mock.not_implemented
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Reference in a new issue