1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/openstack/models/network/lb_pools_tests.rb
Paul Thornthwaite 330a351ade Remove trailing blank lines
Done with `rubocop --auto-correct --only TrailingBlankLines`
2014-05-26 14:35:26 +01:00

20 lines
541 B
Ruby

Shindo.tests("Fog::Network[:openstack] | lb_pools", ['openstack']) do
@lb_pool = Fog::Network[:openstack].lb_pools.create(:subnet_id => 'subnet_id',
:protocol => 'HTTP',
:lb_method => 'ROUND_ROBIN')
@lb_pools = Fog::Network[:openstack].lb_pools
tests('success') do
tests('#all').succeeds do
@lb_pools.all
end
tests('#get').succeeds do
@lb_pools.get @lb_pool.id
end
end
@lb_pool.destroy
end