Sha256: 0858736b53b299ef924a5da78d0ba993689934d51b2ece0fbf879eabb2f3889d

Contents?: true

Size: 346 Bytes

Versions: 14

Compression:

Stored size: 346 Bytes

Contents

Shindo.tests('Fog::Volume[:openstack] | availability zone requests', ['openstack']) do

  @flavor_format = {
    'zoneName'  => String,
    'zoneState' => Hash,
  }

  tests('success') do
    tests('#list_zones').data_matches_schema({'availabilityZoneInfo' => [@flavor_format]}) do
      Fog::Volume[:openstack].list_zones.body
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
fog-openstack-0.1.7 tests/openstack/requests/volume/availability_zone_tests.rb
fog-openstack-0.1.6 tests/openstack/requests/volume/availability_zone_tests.rb
fog-openstack-0.1.5 tests/openstack/requests/volume/availability_zone_tests.rb
fog-openstack-0.1.4 tests/openstack/requests/volume/availability_zone_tests.rb
fog-openstack-0.1.3 tests/openstack/requests/volume/availability_zone_tests.rb
fog-openstack-0.1.2 tests/openstack/requests/volume/availability_zone_tests.rb
fog-openstack-0.1.1 tests/openstack/requests/volume/availability_zone_tests.rb
fog-openstack-0.1.0 tests/openstack/requests/volume/availability_zone_tests.rb
fog-1.37.0 tests/openstack/requests/volume/availability_zone_tests.rb
fog-1.36.0 tests/openstack/requests/volume/availability_zone_tests.rb
fog-1.35.0 tests/openstack/requests/volume/availability_zone_tests.rb
fog-2.0.0.pre.0 tests/openstack/requests/volume/availability_zone_tests.rb
fog-1.34.0 tests/openstack/requests/volume/availability_zone_tests.rb
fog-1.33.0 tests/openstack/requests/volume/availability_zone_tests.rb