1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

more test passing

This commit is contained in:
nightshade427 2011-03-22 10:29:19 -04:00 committed by Nicholas Ricketts
parent b1dcb9864f
commit 28b6a2a92c

View file

@ -35,6 +35,10 @@ Shindo.tests('Linode::Compute | linode requests', ['linode']) do
'DATA' => { 'JobID' => Integer }
})
@ip_format = Linode::Compute::Formats::BASIC.merge({
'DATA' => { 'IPAddressID' => Integer }
})
tests('success') do
@linode_id = nil
@ -62,6 +66,11 @@ Shindo.tests('Linode::Compute | linode requests', ['linode']) do
Linode[:compute].linode_update(@linode_id, :label => 'testing').body
end
tests('#linode_ip_addprivate').formats(@ip_format) do
pending if Fog.mocking?
Linode[:compute].linode_ip_addprivate(@linode_id).body
end
# tests("#linode_reboot(#{@linode_id})").formats(@reboot_format) do
# Linode[:compute].linode_reboot(@linode_id).body
# end