mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
30 lines
641 B
Ruby
30 lines
641 B
Ruby
Shindo.tests('TerremarkEcloud::Compute | network requests', ['terremarkecloud']) do
|
|
|
|
@network_format = {
|
|
'Configuration' => {
|
|
'Gateway' => String,
|
|
'Netmask' => String
|
|
},
|
|
'Features' => {
|
|
'FenceMode' => String
|
|
},
|
|
'href' => String,
|
|
'Link' => {
|
|
'href' => String,
|
|
'name' => String,
|
|
'rel' => String,
|
|
'type' => String
|
|
},
|
|
'name' => String
|
|
}
|
|
|
|
tests('success') do
|
|
|
|
tests("#get_network").formats(@network_format) do
|
|
pending if Fog.mocking?
|
|
TerremarkEcloud[:compute].get_network(TerremarkEcloud::Compute.preferred_network['href']).body
|
|
end
|
|
|
|
end
|
|
|
|
end
|