2014-12-30 17:25:09 -05:00
|
|
|
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
|
|
|
|
}],
|
2015-04-04 19:03:50 -04:00
|
|
|
'requestId' => String,
|
|
|
|
'nextToken' => Fog::Nullable::String
|
2014-12-30 17:25:09 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|