Sha256: 27903ac43f195177243af099f306a866f7ce72419a8c9f121764554387adecd8

Contents?: true

Size: 891 Bytes

Versions: 128

Compression:

Stored size: 891 Bytes

Contents

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

  @zones_format = {
    'listzonesresponse'  => {
      'count' => Integer,
      'zone' => [
        'id' => Integer,
        'name' => String,
        'dns1' => Fog::Nullable::String,
        'dns2' => Fog::Nullable::String,
        'internaldns1' => Fog::Nullable::String,
        'internaldns2' => Fog::Nullable::String,
        'vlan' => Fog::Nullable::String,
        'guestcidraddress' => Fog::Nullable::String,
        'networktype' => String,
        'securitygroupsenabled' => Fog::Nullable::Boolean,
        'allocationstate' => String,
        'dhcpprovider' => String,
        'zonetoken' => Fog::Nullable::String
      ]
    }
  }

  tests('success') do

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

  end

end

Version data entries

128 entries across 126 versions & 20 rubygems

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