1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[aws|iam] Add test for AWS[:iam].get_user

This commit is contained in:
Benton Roberts 2012-06-12 11:18:54 -04:00
parent 27d4dc348a
commit 0edca558f9

View file

@ -33,6 +33,10 @@ Shindo.tests('AWS::IAM | user requests', ['aws']) do
Fog::AWS[:iam].list_users.body Fog::AWS[:iam].list_users.body
end end
tests("#get_user").formats(@user_format) do
Fog::AWS[:iam].get_user('UserName' => 'fog_user').body
end
tests("#add_user_to_group('fog_user_tests', 'fog_user')").formats(AWS::IAM::Formats::BASIC) do tests("#add_user_to_group('fog_user_tests', 'fog_user')").formats(AWS::IAM::Formats::BASIC) do
Fog::AWS[:iam].add_user_to_group('fog_user_tests', 'fog_user').body Fog::AWS[:iam].add_user_to_group('fog_user_tests', 'fog_user').body
end end