Sha256: a5e452f21b323573e6d4224b9cffb63611714a6d254e8958a8c1d8ad13c1691f

Contents?: true

Size: 506 Bytes

Versions: 9

Compression:

Stored size: 506 Bytes

Contents

Shindo.tests('Fog::Compute[:cloudsigma] | snapshots collection', ['cloudsigma']) do

  volume = Fog::Compute[:cloudsigma].volumes.create(:name => 'fogtest', :size => 1024**3, :media => :disk)
  volume.wait_for { available? } unless Fog.mocking?

  snapshots = Fog::Compute[:cloudsigma].snapshots
  snapshot_create_args = {:name => 'fogtest', :drive => volume.uuid}

  collection_tests(snapshots, snapshot_create_args, true) do
    @instance.wait_for(timeout=60) { available? }
  end

  volume.destroy

end

Version data entries

9 entries across 7 versions & 2 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-1.42.1/tests/cloudsigma/models/snapshots_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-1.42.1/tests/cloudsigma/models/snapshots_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-1.42.1/tests/cloudsigma/models/snapshots_tests.rb
fog-1.42.1 tests/cloudsigma/models/snapshots_tests.rb
fog-2.0.0 tests/cloudsigma/models/snapshots_tests.rb
fog-1.42.0 tests/cloudsigma/models/snapshots_tests.rb
fog-1.41.0 tests/cloudsigma/models/snapshots_tests.rb
fog-1.40.0 tests/cloudsigma/models/snapshots_tests.rb
fog-1.39.0 tests/cloudsigma/models/snapshots_tests.rb