Sha256: be5fd91460ba3988546890f115b3c8ec384bbb9cd3c1494615d844556852f10e

Contents?: true

Size: 686 Bytes

Versions: 44

Compression:

Stored size: 686 Bytes

Contents

Shindo.tests('AWS::Compute | availability zone requests', ['aws']) do

  @availability_zones_format = {
    'availabilityZoneInfo'  => [{
      'messageSet'  => [],
      'regionName'  => String,
      'zoneName'    => String,
      'zoneState'   => String
    }],
    'requestId'             => String
  }

  tests('success') do

    tests('#describe_availability_zones').formats(@availability_zones_format) do
      AWS[:compute].describe_availability_zones.body
    end

    tests("#describe_availability_zones('zone-name' => 'us-east-1a')").formats(@availability_zones_format) do
      AWS[:compute].describe_availability_zones('zone-name' => 'us-east-1a').body
    end

  end

end

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
fog-0.8.2 tests/compute/requests/aws/availability_zone_tests.rb
fog-0.8.1 tests/compute/requests/aws/availability_zone_tests.rb
fog-0.8.0 tests/compute/requests/aws/availability_zone_tests.rb
fog-0.7.2 tests/compute/requests/aws/availability_zone_tests.rb
fog-0.7.1 tests/compute/requests/aws/availability_zone_tests.rb
fog-0.7.0 tests/compute/requests/aws/availability_zone_tests.rb
fog-0.6.0 tests/compute/requests/aws/availability_zone_tests.rb
fog-0.5.3 tests/compute/requests/aws/availability_zone_tests.rb
fog-0.5.2 tests/compute/requests/aws/availability_zone_tests.rb
fog-0.5.1 tests/compute/requests/aws/availability_zone_tests.rb
fog-0.5.0 tests/compute/requests/aws/availability_zone_tests.rb
phpfog-fog-0.4.1.3 tests/compute/requests/aws/availability_zone_tests.rb
phpfog-fog-0.4.1.2 tests/compute/requests/aws/availability_zone_tests.rb
phpfog-fog-0.4.1.1 tests/compute/requests/aws/availability_zone_tests.rb
phpfog-fog-0.4.1 tests/compute/requests/aws/availability_zone_tests.rb
fog-0.4.1 tests/compute/requests/aws/availability_zone_tests.rb
fog-0.4.0 tests/compute/requests/aws/availability_zone_tests.rb
fog-0.3.34 tests/aws/requests/compute/availability_zone_tests.rb
fog-0.3.33 tests/aws/requests/compute/availability_zone_tests.rb
fog-0.3.32 tests/aws/requests/compute/availability_zone_tests.rb