1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/openstack/requests/identity/user_tests.rb
2012-04-30 10:34:58 +08:00

16 lines
396 B
Ruby

Shindo.tests('Fog::Identity[:openstack] | user requests', ['openstack']) do
@user_format = {
'id' => String,
'name' => String,
'enabled' => Fog::Boolean,
'email' => String,
'tenantId' => Fog::Nullable::String
}
tests('success') do
tests('#list_users').formats({'users' => [@user_format]}) do
Fog::Identity[:openstack].list_users.body
end
end
end