Sha256: f7fc57622c10e22ecae9d4596dcab5bc11c1486c5556f3b3d17d7b3f57624fe0

Contents?: true

Size: 742 Bytes

Versions: 87

Compression:

Stored size: 742 Bytes

Contents

Shindo.tests('Fog::Compute[:cloudstack] | snapshot requests', ['cloudstack']) do

  @snapshots_format = {
    'listsnapshotsresponse'  => {
      'count' => Integer,
      'snapshot' => [
        'id' => Integer,
        'account' => String,
        'domainid' => Integer,
        'domain' => String,
        'snapshottype' => String,
        'volumeid' => Integer,
        'volumename' => String,
        'volumetype' => String,
        'created' => String,
        'name' => String,
        'intervaltype' => String,
        'state' => String
      ]
    }
  }

  tests('success') do

    tests('#list_snapshots').formats(@snapshots_format) do
      pending if Fog.mocking?
      Fog::Compute[:cloudstack].list_snapshots
    end

  end

end

Version data entries

87 entries across 87 versions & 15 rubygems

Version Path
fog-1.10.1 tests/cloudstack/requests/snapshot_tests.rb
fog-parser-fix-1.6.1 tests/cloudstack/requests/snapshot_tests.rb
fog-test-again-1.6.0 tests/cloudstack/requests/snapshot_tests.rb
fog-test-me-1.10.0 tests/cloudstack/requests/snapshot_tests.rb
fog-parser-fix-1.6.0 tests/cloudstack/requests/snapshot_tests.rb
fog-1.10.0 tests/cloudstack/requests/snapshot_tests.rb
fog-1.9.0 tests/cloudstack/requests/snapshot_tests.rb
fog-maestrodev-1.8.0.20130114204828 tests/cloudstack/requests/snapshot_tests.rb
fog-maestrodev-1.8.0.20130111070250 tests/cloudstack/requests/snapshot_tests.rb
fog-maestrodev-1.8.0.20130109172219 tests/cloudstack/requests/snapshot_tests.rb
fog-sgonyea-1.8.1 tests/cloudstack/requests/snapshot_tests.rb
fog-1.8.0 tests/cloudstack/requests/snapshot_tests.rb
fog-maestrodev-1.7.0.20121114190951 tests/cloudstack/requests/snapshot_tests.rb
fog-1.7.0 tests/cloudstack/requests/snapshot_tests.rb
fog-1.6.0 tests/cloudstack/requests/snapshot_tests.rb
fog-1.5.0 tests/cloudstack/requests/snapshot_tests.rb
rackspace-fog-1.4.2 tests/cloudstack/requests/snapshot_tests.rb
fog-1.4.0 tests/cloudstack/requests/snapshot_tests.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/tests/cloudstack/requests/snapshot_tests.rb
michiels-fog-1.3.1 tests/cloudstack/requests/snapshot_tests.rb