1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/linode/requests/compute/datacenter_tests.rb
2010-09-09 17:50:38 -07:00

18 lines
384 B
Ruby

Shindo.tests('Linode::Compute | datacenter requests', ['linode']) do
@datacenters_format = Linode::Compute::Formats::BASIC.merge({
'DATA' => [{
'DATACENTERID' => Integer,
'LOCATION' => String
}]
})
tests('success') do
tests('#avail_datacenters').formats(@datacenters_format) do
Linode[:compute].avail_datacenters.body
end
end
end