1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/hp/models/network/floating_ips_tests.rb
2013-10-30 19:02:21 -04:00

8 lines
No EOL
307 B
Ruby

Shindo.tests('HP::Network | networking floating ips collection', ['hp', 'networking', 'floatingip']) do
@ext_network = HP[:network].networks.all({'router:external'=>true}).first
attributes = {:floating_network_id => @ext_network.id}
collection_tests(HP[:network].floating_ips, attributes, true)
end