mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
16 lines
410 B
Ruby
16 lines
410 B
Ruby
Shindo.tests('Fog::Rackspace::LoadBalancers | virtual_ip', ['rackspace']) do
|
|
|
|
pending if Fog.mocking?
|
|
|
|
given_a_load_balancer_service do
|
|
given_a_load_balancer do
|
|
model_tests(@lb.virtual_ips, { :type => 'PUBLIC'}, false) do
|
|
@lb.wait_for { ready? }
|
|
|
|
tests("#save => existing virtual IP").raises(Fog::Errors::Error) do
|
|
@instance.save
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|