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
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/tests/cloudstack/requests/snapshot_tests.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/tests/cloudstack/requests/snapshot_tests.rb
fog-1.3.1 tests/cloudstack/requests/snapshot_tests.rb
fog-1.3.0 tests/cloudstack/requests/snapshot_tests.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/tests/cloudstack/requests/snapshot_tests.rb
fog-1.2.0 tests/cloudstack/requests/snapshot_tests.rb
ktheory-fog-1.1.2 tests/cloudstack/requests/snapshot_tests.rb