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

21 lines
453 B
Ruby

Shindo.tests('Fog::Rackspace::Identity | tenants', ['rackspace']) do
pending if Fog.mock?
TENANTS_FORMATS = {
'tenants' => [{
'id' => String,
'name' => String,
'description' => Fog::Nullable::String,
'enabled' => Fog::Nullable::Boolean
}]
}
service = Fog::Rackspace::Identity.new
tests('success') do
tests('#list_tenants').formats(TENANTS_FORMATS) do
service.list_tenants().body
end
end
end