Sha256: ef0d461ea2506b7e6a3c8c7a64bb72a9fd78014162e0fc13d6cecaa44da43eb8

Contents?: true

Size: 733 Bytes

Versions: 41

Compression:

Stored size: 733 Bytes

Contents

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

  @disk_offerings_format = {
    'listdiskofferingsresponse'  => {
      'count' => Integer,
      'diskoffering' => [
        'id' => String,
        'created' => String,
        'disksize' => Integer,
        'displaytext' => String,
        'domain' => Fog::Nullable::String,
        'domainid' => Fog::Nullable::String,
        'iscustomized' => Fog::Boolean,
        'name' => String,
        'storagetype' => String,
        'tags' => Fog::Nullable::String
      ]
    }
  }

  tests('success') do

    tests('#list_disk_offerings').formats(@disk_offerings_format) do
      Fog::Compute[:cloudstack].list_disk_offerings
    end

  end

end

Version data entries

41 entries across 39 versions & 6 rubygems

Version Path
fog-cloudstack-0.1.0 tests/requests/disk_offering_tests.rb
fog-2.1.0 tests/cloudstack/requests/disk_offering_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-1.42.1/tests/cloudstack/requests/disk_offering_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-1.42.1/tests/cloudstack/requests/disk_offering_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-1.42.1/tests/cloudstack/requests/disk_offering_tests.rb
fog-1.42.1 tests/cloudstack/requests/disk_offering_tests.rb
fog-2.0.0 tests/cloudstack/requests/disk_offering_tests.rb
fog-1.42.0 tests/cloudstack/requests/disk_offering_tests.rb
fog-1.41.0 tests/cloudstack/requests/disk_offering_tests.rb
fog-1.40.0 tests/cloudstack/requests/disk_offering_tests.rb
fog-1.39.0 tests/cloudstack/requests/disk_offering_tests.rb
fog-1.38.0 tests/cloudstack/requests/disk_offering_tests.rb
fog-1.37.0 tests/cloudstack/requests/disk_offering_tests.rb
fog-1.36.0 tests/cloudstack/requests/disk_offering_tests.rb
fog-1.35.0 tests/cloudstack/requests/disk_offering_tests.rb
fog-2.0.0.pre.0 tests/cloudstack/requests/disk_offering_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/cloudstack/requests/disk_offering_tests.rb
fog-1.34.0 tests/cloudstack/requests/disk_offering_tests.rb
fog-1.33.0 tests/cloudstack/requests/disk_offering_tests.rb
fog-1.32.0 tests/cloudstack/requests/disk_offering_tests.rb