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_members_tests.rb
Paul Thornthwaite 330a351ade Remove trailing blank lines
Done with `rubocop --auto-correct --only TrailingBlankLines`
2014-05-26 14:35:26 +01:00

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