mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
The pending block fails the outer one => make sure we return proper result
This commit is contained in:
parent
fbf202f7c7
commit
0791366a1b
1 changed files with 2 additions and 1 deletions
|
@ -30,11 +30,12 @@ Shindo.tests('Fog::Compute[:hp] | address requests', [:hp]) do
|
|||
@server.wait_for { ready? }
|
||||
|
||||
tests("#associate_address('#{@server.id}', '#{@ip_address}')").succeeds do
|
||||
Fog::Compute[:hp].associate_address(@server.id, @ip_address)
|
||||
result = Fog::Compute[:hp].associate_address(@server.id, @ip_address)
|
||||
tests("#get_address").returns(@server.id, "associated to valid instance id") do
|
||||
pending if Fog.mocking?
|
||||
Fog::Compute[:hp].get_address(@address_id).body['floating_ip']['instance_id']
|
||||
end
|
||||
result
|
||||
end
|
||||
|
||||
tests("#disassociate_address('#{@server.id}', '#{@ip_address}')").succeeds do
|
||||
|
|
Loading…
Add table
Reference in a new issue