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

20 lines
414 B
Ruby
Raw Normal View History

2010-09-09 17:50:38 -07:00
Shindo.tests('Linode::Compute | datacenter requests', ['linode']) do
2010-07-17 22:35:08 -05:00
2010-09-09 17:50:38 -07:00
@datacenters_format = Linode::Compute::Formats::BASIC.merge({
2010-07-17 22:35:08 -05:00
'DATA' => [{
'DATACENTERID' => Integer,
'LOCATION' => String
}]
})
tests('success') do
tests('#avail_datacenters').formats(@datacenters_format) do
pending if Fog.mocking?
2010-09-09 17:50:38 -07:00
Linode[:compute].avail_datacenters.body
2010-07-17 22:35:08 -05:00
end
end
end