2011-06-16 19:28:54 -04:00
|
|
|
Shindo.tests('Fog::Compute[:ninefold] | network requests', ['ninefold']) do
|
2011-05-09 20:22:23 -04:00
|
|
|
|
|
|
|
tests('success') do
|
|
|
|
|
|
|
|
tests("#list_networks()").formats(Ninefold::Compute::Formats::Networks::NETWORKS) do
|
|
|
|
pending if Fog.mocking?
|
2011-06-16 19:28:54 -04:00
|
|
|
Fog::Compute[:ninefold].list_networks()
|
2011-05-09 20:22:23 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
tests('failure') do
|
|
|
|
|
|
|
|
#tests("#deploy_virtual_machine()").raises(Excon::Errors::HTTPStatusError) do
|
|
|
|
# pending if Fog.mocking?
|
2011-06-16 19:28:54 -04:00
|
|
|
# Fog::Compute[:ninefold].deploy_virtual_machine
|
2011-05-09 20:22:23 -04:00
|
|
|
#end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|