mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
16 lines
350 B
Ruby
16 lines
350 B
Ruby
Shindo.tests('AWS::STS | session tokens', ['aws']) do
|
|
|
|
@session_format = {
|
|
'SessionToken' => String,
|
|
'SecretAccessKey' => String,
|
|
'Expiration' => String,
|
|
'AccessKeyId' => String,
|
|
'RequestId' => String
|
|
}
|
|
|
|
tests("#get_session_token").formats(@session_format) do
|
|
pending if Fog.mocking?
|
|
Fog::AWS[:sts].get_session_token.body
|
|
end
|
|
|
|
end
|