1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/aws/requests/iam/mfa_tests.rb

24 lines
499 B
Ruby
Raw Normal View History

Shindo.tests('AWS::IAM | mfa requests', ['aws']) do
tests('success') do
@mfa_devices_format = {
'MFADevices' => [{
'EnableDate' => Time,
'SerialNumber' => String,
'UserName' => String
}],
'IsTruncated' => Fog::Boolean,
'RequestId' => String
}
tests('#list_mfa_devices').formats(@mfa_devices_format) do
Fog::AWS[:iam].list_mfa_devices.body
end
end
tests('failure') do
test('failing conditions')
end
end