Sha256: b3b5e890a487b42e0844405dff4c3241b1ba3f357440be4d3118b7615c3676b2
Contents?: true
Size: 592 Bytes
Versions: 48
Compression:
Stored size: 592 Bytes
Contents
Shindo.tests('AWS::STS | session tokens', ['aws']) do @policy = {"Statement" => [{"Effect" => "Allow", "Action" => "*", "Resource" => "*"}]} @federation_format = { 'SessionToken' => String, 'SecretAccessKey' => String, 'Expiration' => String, 'AccessKeyId' => String, 'Arn' => String, 'FederatedUserId' => String, 'PackedPolicySize' => String, 'RequestId' => String } tests("#get_federation_token('test@fog.io', #{@policy.inspect})").formats(@federation_format) do pending if Fog.mocking? Fog::AWS[:sts].get_federation_token("test@fog.io", @policy).body end end
Version data entries
48 entries across 48 versions & 15 rubygems