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

10 lines
292 B
Ruby

Shindo.tests("Fog::Compute[:aws] | snapshot", ['aws']) do
@volume = Fog::Compute[:aws].volumes.create(:availability_zone => 'us-east-1a', :size => 1)
@volume.wait_for { ready? }
model_tests(Fog::Compute[:aws].snapshots, {:volume_id => @volume.identity}, true)
@volume.destroy
end