mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
330a351ade
Done with `rubocop --auto-correct --only TrailingBlankLines`
20 lines
541 B
Ruby
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
|