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.15.0 tests/aws/requests/compute/region_tests.rb
gapinc-fog-1.14.0 tests/aws/requests/compute/region_tests.rb
fog-maestrodev-1.14.0.20130806165225 tests/aws/requests/compute/region_tests.rb
fog-1.14.0 tests/aws/requests/compute/region_tests.rb
fog-1.13.0 tests/aws/requests/compute/region_tests.rb
gapinc-fog-1.12.1.2 tests/aws/requests/compute/region_tests.rb
gapinc-fog-1.12.1.1 tests/aws/requests/compute/region_tests.rb
gapinc-fog-1.12.1a tests/aws/requests/compute/region_tests.rb
gapinc-fog-1.12.1 tests/aws/requests/compute/region_tests.rb
fog-1.12.1 tests/aws/requests/compute/region_tests.rb
fog-1.12.0 tests/aws/requests/compute/region_tests.rb
hpfog-0.0.20 tests/aws/requests/compute/region_tests.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/tests/aws/requests/compute/region_tests.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/tests/aws/requests/compute/region_tests.rb
fog-nirvanix-1.8.2 tests/aws/requests/compute/region_tests.rb
fog-1.11.1 tests/aws/requests/compute/region_tests.rb
fog-1.11.0 tests/aws/requests/compute/region_tests.rb
fog-nirvanix-1.8.1 tests/aws/requests/compute/region_tests.rb
fog-1.10.1 tests/aws/requests/compute/region_tests.rb
fog-parser-fix-1.6.1 tests/aws/requests/compute/region_tests.rb