Sha256: 5fba3efd1272d7861bfb935f4348eca1801a8c2bc483b44a0374072f4a06557d

Contents?: true

Size: 531 Bytes

Versions: 13

Compression:

Stored size: 531 Bytes

Contents

Shindo.tests('Fog::Rackspace::BlockStorage | snapshots', ['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 }
  collection_tests(service.snapshots, options, false) do
    @instance.wait_for { ready? }
  end

  volume.wait_for { snapshots.empty? }
  volume.destroy
end

Version data entries

13 entries across 13 versions & 6 rubygems

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