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`
21 lines
635 B
Ruby
21 lines
635 B
Ruby
Shindo.tests("Fog::Network[:openstack] | lb_members", ['openstack']) do
|
|
@lb_member = Fog::Network[:openstack].lb_members.create(:pool_id => 'pool_id',
|
|
:address => '10.0.0.1',
|
|
:protocol_port => '80',
|
|
:weight => 100)
|
|
@lb_members = Fog::Network[:openstack].lb_members
|
|
|
|
tests('success') do
|
|
|
|
tests('#all').succeeds do
|
|
@lb_members.all
|
|
end
|
|
|
|
tests('#get').succeeds do
|
|
@lb_members.get @lb_member.id
|
|
end
|
|
|
|
end
|
|
|
|
@lb_member.destroy
|
|
end
|