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

Version Path
fog-nirvanix-1.8.2 tests/rackspace/models/block_storage/snapshot_tests.rb
fog-nirvanix-1.8.1 tests/rackspace/models/block_storage/snapshot_tests.rb
fog-parser-fix-1.6.1 tests/rackspace/models/block_storage/snapshot_tests.rb
fog-test-again-1.6.0 tests/rackspace/models/block_storage/snapshot_tests.rb
fog-parser-fix-1.6.0 tests/rackspace/models/block_storage/snapshot_tests.rb
fog-sgonyea-1.8.1 tests/rackspace/models/block_storage/snapshot_tests.rb
fog-1.8.0 tests/rackspace/models/block_storage/snapshot_tests.rb
fog-maestrodev-1.7.0.20121114190951 tests/rackspace/models/block_storage/snapshot_tests.rb
fog-1.7.0 tests/rackspace/models/block_storage/snapshot_tests.rb
fog-1.6.0 tests/rackspace/models/block_storage/snapshot_tests.rb