1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/rackspace/models/virtual_ip_tests.rb
geemus d2e06e96ca [rackspace|loadbalancers] cleanup
pluralize service name
use multi_json
fix directory structure for consistency
2011-08-04 16:21:22 -05:00

14 lines
383 B
Ruby

Shindo.tests('Fog::Rackspace::LoadBalancers | 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