Sha256: f329c761485bb6d5a0856cecfa76999831a2ee5748b075819f55e38a5cc172ee

Contents?: true

Size: 1006 Bytes

Versions: 24

Compression:

Stored size: 1006 Bytes

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'          => {}
    }],
      '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

24 entries across 24 versions & 1 rubygems

Version Path
fog-0.3.31 tests/aws/requests/compute/image_tests.rb
fog-0.3.30 tests/aws/requests/compute/image_tests.rb
fog-0.3.29 tests/aws/requests/compute/image_tests.rb
fog-0.3.28 tests/aws/requests/compute/image_tests.rb
fog-0.3.27 tests/aws/requests/compute/image_tests.rb
fog-0.3.26 tests/aws/requests/compute/image_tests.rb
fog-0.3.25 tests/aws/requests/compute/image_tests.rb
fog-0.3.24 tests/aws/requests/compute/image_tests.rb
fog-0.3.23 tests/aws/requests/compute/image_tests.rb
fog-0.3.22 tests/aws/requests/compute/image_tests.rb
fog-0.3.21 tests/aws/requests/compute/image_tests.rb
fog-0.3.20 tests/aws/requests/compute/image_tests.rb
fog-0.3.19 tests/aws/requests/compute/image_tests.rb
fog-0.3.18 tests/aws/requests/compute/image_tests.rb
fog-0.3.17 tests/aws/requests/compute/image_tests.rb
fog-0.3.16 tests/aws/requests/compute/image_tests.rb
fog-0.3.15 tests/aws/requests/compute/image_tests.rb
fog-0.3.14 tests/aws/requests/compute/image_tests.rb
fog-0.3.13 tests/aws/requests/compute/image_tests.rb
fog-0.3.12 tests/aws/requests/compute/image_tests.rb