Sha256: 6e39c0cd7efc79a0c116cbcfdcfa976eae1e13fc87affd5f61eb811d60059f8a

Contents?: true

Size: 624 Bytes

Versions: 129

Compression:

Stored size: 624 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
  }

  tests('success') do

    pending # Some history data doesn't have an availability zone

    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

129 entries across 129 versions & 21 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/aws/requests/compute/spot_price_history_tests.rb
fog-aws-0.1.1 tests/requests/compute/spot_price_history_tests.rb
fog-aws-0.1.0 tests/requests/compute/spot_price_history_tests.rb
fog-aws-0.0.8 tests/requests/compute/spot_price_history_tests.rb
fog-aws-0.0.7 tests/requests/compute/spot_price_history_tests.rb
fog-aws-0.0.6 tests/requests/compute/spot_price_history_tests.rb
fog-aws-0.0.5 tests/requests/compute/spot_price_history_tests.rb
fog-1.26.0 tests/aws/requests/compute/spot_price_history_tests.rb
fog-1.25.0 tests/aws/requests/compute/spot_price_history_tests.rb
nsidc-fog-1.24.1 tests/aws/requests/compute/spot_price_history_tests.rb
fog-1.24.0 tests/aws/requests/compute/spot_price_history_tests.rb
ns-fog-1.22.11 tests/aws/requests/compute/spot_price_history_tests.rb
ns-fog-1.22.10 tests/aws/requests/compute/spot_price_history_tests.rb
ns-fog-1.22.9 tests/aws/requests/compute/spot_price_history_tests.rb
ns-fog-1.22.8 tests/aws/requests/compute/spot_price_history_tests.rb
ns-fog-1.22.7 tests/aws/requests/compute/spot_price_history_tests.rb
ns-fog-1.22.6 tests/aws/requests/compute/spot_price_history_tests.rb
fog-1.23.0 tests/aws/requests/compute/spot_price_history_tests.rb
ns-fog-1.22.4 tests/aws/requests/compute/spot_price_history_tests.rb
ns-fog-1.22.3 tests/aws/requests/compute/spot_price_history_tests.rb