Sha256: 20f4dae9d7ee2e6a1103a23ba0efe79ec95eee65394a11f5e73e6b2fc9c6f71c
Contents?: true
Size: 924 Bytes
Versions: 53
Compression:
Stored size: 924 Bytes
Contents
Shindo.tests("Fog::Network[:openstack] | lb_member", ['openstack']) do tests('success') do tests('#create').succeeds do @instance = Fog::Network[:openstack].lb_members.create(:pool_id => 'pool_id', :address => '10.0.0.1', :protocol_port => '80', :weight => 100, :admin_state_up => true, :tenant_id => 'tenant_id') !@instance.id.nil? end tests('#update').succeeds do @instance.pool_id = 'new_pool_id' @instance.weight = 50 @instance.admin_state_up = false @instance.update end tests('#destroy').succeeds do @instance.destroy == true end end end
Version data entries
53 entries across 53 versions & 3 rubygems