[cloudstack] add disk_offering model tests

This commit is contained in:
Dmitry Dedov 2013-04-22 15:57:00 +03:00
parent 187f986fc7
commit e13ee6fa30
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,5 @@
Shindo.tests("Fog::Compute[:cloudstack] | disk_offering", "cloudstack") do
config = compute_providers[:cloudstack]
compute = Fog::Compute[:cloudstack]
model_tests(compute.disk_offerings, config[:disk_offering_attributes], config[:mocked])
end

View File

@ -67,6 +67,7 @@ def compute_providers
:end_port => 456,
:protocol => 'tcp'
},
:disk_offering_attributes => { :name => "new disk offering", :display_text => 'New Disk Offering' },
:mocked => true
},
:glesys => {