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

22 lines
528 B
Ruby
Raw Normal View History

2011-06-22 18:08:38 -04:00
Shindo.tests('Fog::Compute[:ninefold] | template requests', ['ninefold']) do
tests('success') do
tests("#list_templates()").formats(Ninefold::Compute::Formats::Templates::TEMPLATES) do
pending if Fog.mocking?
Fog::Compute[:ninefold].list_templates(:templatefilter => 'executable')
end
end
tests('failure') do
#tests("#deploy_virtual_machine()").raises(Excon::Errors::HTTPStatusError) do
# pending if Fog.mocking?
# Fog::Compute[:ninefold].deploy_virtual_machine
#end
end
end