mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
14 lines
382 B
Ruby
14 lines
382 B
Ruby
Shindo.tests('Fog::Rackspace::LoadBalancer | virtual_ip', ['rackspace']) do
|
|
|
|
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
|