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

10 lines
338 B
Ruby
Raw Normal View History

Shindo.tests('Fog::Compute[:cloudsigma] | volumes collection', ['cloudsigma']) do
volumes = Fog::Compute[:cloudsigma].volumes
volume_create_args = {:name => 'fogtest', :size => 1024**3, :media => :cdrom}
collection_tests(volumes, volume_create_args, true) do
@instance.wait_for(timeout=60) { status == 'unmounted' }
end
end