2013-09-27 14:27:36 -04:00
|
|
|
Shindo.tests('Fog::Rackspace::AutoScale | groups', ['rackspace', 'rackspace_autoscale']) do
|
2013-09-05 08:10:13 -04:00
|
|
|
pending if Fog.mocking?
|
|
|
|
service = Fog::Rackspace::AutoScale.new :rackspace_region => :ord
|
|
|
|
|
2013-09-16 05:34:07 -04:00
|
|
|
options = {
|
|
|
|
:policies => POLICIES_OPTIONS,
|
|
|
|
:group_config => GROUP_CONFIG_OPTIONS,
|
|
|
|
:launch_config => LAUNCH_CONFIG_OPTIONS
|
|
|
|
}
|
2013-09-05 08:10:13 -04:00
|
|
|
|
2013-10-02 14:18:23 -04:00
|
|
|
collection_tests(service.groups, options, false) do
|
|
|
|
tests('deactive scaling group').succeeds do
|
|
|
|
deactive_auto_scale_group(@instance)
|
|
|
|
end
|
|
|
|
end
|
2013-09-05 08:10:13 -04:00
|
|
|
|
|
|
|
end
|