1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00
fog--fog-aws/tests/requests/iam/mfa_tests.rb
2015-01-02 09:42:20 -08:00

23 lines
499 B
Ruby

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