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
2015-10-26 20:35:01 +00:00

20 lines
457 B
Ruby

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