Sha256: e3432d1254c6c962abbb32531f6e792a0a512093529bde3116ec8bcfa053e239
Contents?: true
Size: 525 Bytes
Versions: 10
Compression:
Stored size: 525 Bytes
Contents
Shindo.tests('Fog::Rackspace::BlockStorage | snapshot', ['rackspace']) do pending if Fog.mocking? service = Fog::Rackspace::BlockStorage.new volume = service.volumes.create({ :display_name => "fog_#{Time.now.to_i.to_s}", :size => 100 }) volume.wait_for { ready? } options = { :display_name => "fog_#{Time.now.to_i.to_s}", :volume_id => volume.id } model_tests(service.snapshots, options, false) do @instance.wait_for { ready? } end volume.wait_for { snapshots.empty? } volume.destroy end
Version data entries
10 entries across 10 versions & 6 rubygems