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:
parent
b1dcb9864f
commit
28b6a2a92c
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue