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-1.16.0 tests/cloudstack/requests/zone_tests.rb
fog-maestrodev-1.15.0.20130927082724 tests/cloudstack/requests/zone_tests.rb
fog-maestrodev-1.15.0.20130829165835 tests/cloudstack/requests/zone_tests.rb
fog-1.15.0 tests/cloudstack/requests/zone_tests.rb
gapinc-fog-1.14.0 tests/cloudstack/requests/zone_tests.rb
fog-maestrodev-1.14.0.20130806165225 tests/cloudstack/requests/zone_tests.rb
fog-1.14.0 tests/cloudstack/requests/zone_tests.rb
fog-1.13.0 tests/cloudstack/requests/zone_tests.rb
gapinc-fog-1.12.1.2 tests/cloudstack/requests/zone_tests.rb
gapinc-fog-1.12.1.1 tests/cloudstack/requests/zone_tests.rb
gapinc-fog-1.12.1a tests/cloudstack/requests/zone_tests.rb
gapinc-fog-1.12.1 tests/cloudstack/requests/zone_tests.rb
fog-1.12.1 tests/cloudstack/requests/zone_tests.rb
fog-1.12.0 tests/cloudstack/requests/zone_tests.rb
hpfog-0.0.20 tests/cloudstack/requests/zone_tests.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/tests/cloudstack/requests/zone_tests.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/tests/cloudstack/requests/zone_tests.rb
fog-nirvanix-1.8.2 tests/cloudstack/requests/zone_tests.rb
fog-1.11.1 tests/cloudstack/requests/zone_tests.rb
fog-1.11.0 tests/cloudstack/requests/zone_tests.rb