Sha256: b5859173febd1ae39871d5e9ae6fc71cc917d17f63ef64afea23a6c51db31c21

Contents?: true

Size: 599 Bytes

Versions: 56

Compression:

Stored size: 599 Bytes

Contents

Shindo.tests('Fog::Compute[:aws] | spot price history requests', ['aws']) do

  @spot_price_history_format = {
    'spotPriceHistorySet'   => [{
      'availabilityZone'    => String,
      'instanceType'        => String,
      'spotPrice'           => Float,
      'productDescription'  => String,
      'timestamp'           => Time
    }],
    'requestId' => String,
    'nextToken' => Fog::Nullable::String
  }

  tests('success') do

    tests("#describe_spot_price_history").formats(@spot_price_history_format) do
      Fog::Compute[:aws].describe_spot_price_history.body
    end

  end

end

Version data entries

56 entries across 54 versions & 3 rubygems

Version Path
fog-aws-3.12.0 tests/requests/compute/spot_price_history_tests.rb
fog-aws-3.11.0 tests/requests/compute/spot_price_history_tests.rb
fog-aws-3.10.0 tests/requests/compute/spot_price_history_tests.rb
fog-aws-3.9.0 tests/requests/compute/spot_price_history_tests.rb
fog-aws-3.8.0 tests/requests/compute/spot_price_history_tests.rb
fog-aws-3.7.0 tests/requests/compute/spot_price_history_tests.rb
fog-aws-3.6.7 tests/requests/compute/spot_price_history_tests.rb
fog-aws-3.6.6 tests/requests/compute/spot_price_history_tests.rb
fog-aws-3.6.5 tests/requests/compute/spot_price_history_tests.rb
fog-aws-3.6.4 tests/requests/compute/spot_price_history_tests.rb
fog-aws-3.6.3 tests/requests/compute/spot_price_history_tests.rb
fog-aws-3.6.2 tests/requests/compute/spot_price_history_tests.rb
fog-aws-3.5.2 tests/requests/compute/spot_price_history_tests.rb
fog-aws-3.5.1 tests/requests/compute/spot_price_history_tests.rb
fog-aws-3.5.0 tests/requests/compute/spot_price_history_tests.rb
fog-aws-3.4.0 tests/requests/compute/spot_price_history_tests.rb
fog-aws-3.3.0 tests/requests/compute/spot_price_history_tests.rb
fog-aws-3.2.0 tests/requests/compute/spot_price_history_tests.rb
fog-aws-3.1.0 tests/requests/compute/spot_price_history_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-aws-2.0.1/tests/requests/compute/spot_price_history_tests.rb