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-test-again-1.6.0 tests/aws/requests/compute/region_tests.rb
fog-test-me-1.10.0 tests/aws/requests/compute/region_tests.rb
fog-parser-fix-1.6.0 tests/aws/requests/compute/region_tests.rb
fog-1.10.0 tests/aws/requests/compute/region_tests.rb
fog-1.9.0 tests/aws/requests/compute/region_tests.rb
fog-maestrodev-1.8.0.20130114204828 tests/aws/requests/compute/region_tests.rb
fog-maestrodev-1.8.0.20130111070250 tests/aws/requests/compute/region_tests.rb
fog-maestrodev-1.8.0.20130109172219 tests/aws/requests/compute/region_tests.rb
fog-sgonyea-1.8.1 tests/aws/requests/compute/region_tests.rb
fog-1.8.0 tests/aws/requests/compute/region_tests.rb
fog-maestrodev-1.7.0.20121114190951 tests/aws/requests/compute/region_tests.rb
fog-1.7.0 tests/aws/requests/compute/region_tests.rb
fog-1.6.0 tests/aws/requests/compute/region_tests.rb
fog-1.5.0 tests/aws/requests/compute/region_tests.rb
rackspace-fog-1.4.2 tests/aws/requests/compute/region_tests.rb
fog-1.4.0 tests/aws/requests/compute/region_tests.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/tests/aws/requests/compute/region_tests.rb
michiels-fog-1.3.1 tests/aws/requests/compute/region_tests.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/tests/aws/requests/compute/region_tests.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/tests/aws/requests/compute/region_tests.rb