Sha256: 4828f9f0a17bb58f8b8543ef4deb3ab413f55cfa924224ba9afd5c2dbdabc0b9

Contents?: true

Size: 1.07 KB

Versions: 20

Compression:

Stored size: 1.07 KB

Contents

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

  @images_format = {
    'imagesSet'    => [{
      'architecture'        => String,
      'blockDeviceMapping'  =>[],
      'imageId'             => String,
      'imageLocation'       => String,
      'imageOwnerId'        => String,
      'imageState'          => String,
      'imageType'           => String,
      'isPublic'            => Fog::Boolean,
      'kernelId'            => String,
      'productCodes'        => [],
      'ramdiskId'           => String,
      'rootDeviceType'      => String,
      'tagSet'              => {},
      'virtualizationType'  => String
    }],
    'requestId'     => String,
  }

  tests('success') do

    # the result for this is HUGE and relatively uninteresting...
    # tests("#describe_images").formats(@images_format) do
    #   AWS[:compute].describe_images.body
    # end

    tests("#describe_images('ImageId' => '#{GENTOO_AMI}')").formats(@images_format) do
      pending if Fog.mocking?
      AWS[:compute].describe_images('ImageId' => GENTOO_AMI).body
    end

  end

end

Version data entries

20 entries across 20 versions & 2 rubygems

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