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

[rackspace|auto_scale] renamed the model tests to follow fog conventions.

This commit is contained in:
Kyle Rames 2013-09-27 13:27:36 -05:00
parent 71d512a79b
commit a98ba7d1ea
6 changed files with 10 additions and 10 deletions

View file

@ -1,11 +1,11 @@
Shindo.tests('Fog::Rackspace::AutoScale | group', ['rackspace', 'rackspace_autoscale']) do
service = Fog::Rackspace::AutoScale.new :rackspace_region => :ord
options = {
:name => "fog_#{Time.now.to_i.to_s}",
:policies => POLICIES_OPTIONS,
:launch_config => LAUNCH_CONFIG_OPTIONS,
:name => "fog_#{Time.now.to_i.to_s}",
:policies => POLICIES_OPTIONS,
:launch_config => LAUNCH_CONFIG_OPTIONS,
:group_config => GROUP_CONFIG_OPTIONS
}

View file

@ -1,4 +1,4 @@
Shindo.tests('Fog::Rackspace::AutoScale | groups', ['rackspace', 'rackspace_autoscale']) do
Shindo.tests('Fog::Rackspace::AutoScale | groups', ['rackspace', 'rackspace_autoscale']) do
pending if Fog.mocking?
service = Fog::Rackspace::AutoScale.new :rackspace_region => :ord

View file

@ -1,4 +1,4 @@
Shindo.tests('Fog::Rackspace::AutoScale | policies', ['rackspace', 'rackspace_autoscale']) do
Shindo.tests('Fog::Rackspace::AutoScale | policies', ['rackspace', 'rackspace_autoscale']) do
pending if Fog.mocking?
service = Fog::Rackspace::AutoScale.new :rackspace_region => :ord

View file

@ -1,5 +1,5 @@
Shindo.tests('Fog::Rackspace::AutoScale | policy', ['rackspace', 'rackspace_autoscale']) do
service = Fog::Rackspace::AutoScale.new :rackspace_region => :ord
group = service.groups.create({

View file

@ -1,5 +1,5 @@
Shindo.tests('Fog::Rackspace::AutoScale | webhook', ['rackspace', 'rackspace_autoscale']) do
service = Fog::Rackspace::AutoScale.new :rackspace_region => :ord
group = service.groups.create({
@ -26,7 +26,7 @@ Shindo.tests('Fog::Rackspace::AutoScale | webhook', ['rackspace', 'rackspace_aut
}
begin
model_tests(policy.webhooks, options, false)
model_tests(policy.webhooks, options, false)
ensure
policy.destroy
group.destroy

View file

@ -1,4 +1,4 @@
Shindo.tests('Fog::Rackspace::AutoScale | webhooks', ['rackspace', 'rackspace_autoscale']) do
Shindo.tests('Fog::Rackspace::AutoScale | webhooks', ['rackspace', 'rackspace_autoscale']) do
pending if Fog.mocking?
service = Fog::Rackspace::AutoScale.new :rackspace_region => :ord