1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00
fog--fog-aws/tests/requests/sts/session_token_tests.rb

17 lines
349 B
Ruby
Raw Permalink Normal View History

2015-01-02 12:34:40 -05:00
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