Sha256: 9c9ac8ca6b3f07caffbf25316f5351a44c56a7cb0ac329cf73bf13c97dd0ab99
Contents?: true
Size: 664 Bytes
Versions: 8
Compression:
Stored size: 664 Bytes
Contents
Shindo.tests('AWS::Compute | region requests', ['aws']) do @regions_format = { 'regionInfo' => [{ 'regionEndpoint' => String, 'regionName' => String }], 'requestId' => String } tests('success') do tests("#describe_regions").formats(@regions_format) do AWS[:compute].describe_regions.body end tests("#describe_regions('us-east-1')").formats(@regions_format) do AWS[:compute].describe_regions('us-east-1').body end end tests('failure') do tests("#describe_regions('us-east-2')").raises(Fog::AWS::Compute::Error) do AWS[:compute].describe_regions('us-east-2') end end end
Version data entries
8 entries across 8 versions & 1 rubygems