1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00
fog--fog-aws/tests/models/compute/snapshots_tests.rb
Josh Lane d48d376e9c initial import
* take the liberty of correcting Aws naming
2014-12-31 09:17:51 -08:00

10 lines
298 B
Ruby

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