Sha256: deee3ecd2e75cbd6c4f18f8f275ff5aecefc548e61442b4371520d696c9a1910

Contents?: true

Size: 1.04 KB

Versions: 25

Compression:

Stored size: 1.04 KB

Contents

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

  @public_ip_addresses_format = {
    'listpublicipaddressesresponse'  => {
      'count' => Integer,
      'publicipaddress' => [
        'id' => String,
        'ipaddress' => String,
        'allocated' => String,
        'zoneid' => String,
        'zonename' => String,
        'issourcenat' => Fog::Boolean,
        'projectid' => String,
        'project' => String,
        'domainid' => String,
        'domain' => String,
        'forvirtualnetwork' => Fog::Boolean,
        'isstaticnat' => Fog::Boolean,
        'issystem' => Fog::Boolean,
        'associatednetworkid' => String,
        'associatednetworkname' => String,
        'networkid' => String,
        'state' => String,
        'physicalnetworkid' => String,
        'tags' => Fog::Nullable::Array
      ]
    }
  }

  tests('success') do

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

  end

end

Version data entries

25 entries across 23 versions & 4 rubygems

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