Sha256: c793ef2f69ab22ff78c3277071c151ae38d114f59560e69328d5dd4b9ec7d624

Contents?: true

Size: 546 Bytes

Versions: 108

Compression:

Stored size: 546 Bytes

Contents

Shindo.tests('Fog::Compute[:aws] | region requests', ['aws']) do

  @regions_format = {
    'regionInfo'  => [{
      'regionEndpoint'  => String,
      'regionName'      => String
    }],
    'requestId'   => String
  }

  tests('success') do

    tests("#describe_regions").formats(@regions_format) do
      Fog::Compute[:aws].describe_regions.body
    end

    tests("#describe_regions('region-name' => 'us-east-1')").formats(@regions_format) do
      Fog::Compute[:aws].describe_regions('region-name' => 'us-east-1').body
    end

  end

end

Version data entries

108 entries across 108 versions & 18 rubygems

Version Path
fog-1.0.0 tests/aws/requests/compute/region_tests.rb
brightbox-cli-0.13.1 lib/brightbox-cli/vendor/fog/tests/compute/requests/aws/region_tests.rb
brightbox-cli-0.13.0 lib/brightbox-cli/vendor/fog/tests/compute/requests/aws/region_tests.rb
fog-0.11.0 tests/compute/requests/aws/region_tests.rb
fog-0.10.0 tests/compute/requests/aws/region_tests.rb
fog4encbs-0.9.0.1 tests/compute/requests/aws/region_tests.rb
fog4encbs-0.9.0 tests/compute/requests/aws/region_tests.rb
fog-0.9.0 tests/compute/requests/aws/region_tests.rb