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:
parent
27d4dc348a
commit
0edca558f9
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue