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

Version Path
gapinc-fog-1.12.1.2.1 tests/aws/requests/sts/get_federation_token_tests.rb
fog-maestrodev-1.15.0.20130829165835 tests/aws/requests/sts/get_federation_token_tests.rb
fog-1.15.0 tests/aws/requests/sts/get_federation_token_tests.rb
gapinc-fog-1.14.0 tests/aws/requests/sts/get_federation_token_tests.rb
fog-maestrodev-1.14.0.20130806165225 tests/aws/requests/sts/get_federation_token_tests.rb
fog-1.14.0 tests/aws/requests/sts/get_federation_token_tests.rb
fog-1.13.0 tests/aws/requests/sts/get_federation_token_tests.rb
gapinc-fog-1.12.1.2 tests/aws/requests/sts/get_federation_token_tests.rb
gapinc-fog-1.12.1.1 tests/aws/requests/sts/get_federation_token_tests.rb
gapinc-fog-1.12.1a tests/aws/requests/sts/get_federation_token_tests.rb
gapinc-fog-1.12.1 tests/aws/requests/sts/get_federation_token_tests.rb
fog-1.12.1 tests/aws/requests/sts/get_federation_token_tests.rb
fog-1.12.0 tests/aws/requests/sts/get_federation_token_tests.rb
hpfog-0.0.20 tests/aws/requests/sts/get_federation_token_tests.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/tests/aws/requests/sts/get_federation_token_tests.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/tests/aws/requests/sts/get_federation_token_tests.rb
fog-nirvanix-1.8.2 tests/aws/requests/sts/get_federation_token_tests.rb
fog-1.11.1 tests/aws/requests/sts/get_federation_token_tests.rb
fog-1.11.0 tests/aws/requests/sts/get_federation_token_tests.rb
fog-nirvanix-1.8.1 tests/aws/requests/sts/get_federation_token_tests.rb