mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
19 lines
425 B
Ruby
19 lines
425 B
Ruby
Shindo.tests('Fog::Compute[:linode] | 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
|
|
pending if Fog.mocking?
|
|
Fog::Compute[:linode].avail_datacenters.body
|
|
end
|
|
|
|
end
|
|
|
|
end
|