Sha256: ea01e3637fce4423a703da4540a94d00a1cf4e247ace699724c246bd6878726f
Contents?: true
Size: 639 Bytes
Versions: 37
Compression:
Stored size: 639 Bytes
Contents
Shindo.tests('HP::LB | load balancer nodes collection', ['hp', 'lb', 'node']) do attributes = {:name => 'fog-lb', :nodes => [{'address' => '15.185.1.1', 'port' => '80'}]} @lb = HP[:lb].load_balancers.create(attributes) attributes = {:address => '15.185.1.1', :port => '80'} collection_tests(@lb.nodes, attributes, true) tests('success') do attributes = {:address => '15.185.1.1', :port => '80'} @node = @lb.nodes.create(attributes) tests('#all').succeeds do @lb.nodes.all end tests("#get(#{@node.id})").succeeds do @lb.nodes.get(@node.id) end @node.destroy end @lb.destroy end
Version data entries
37 entries across 37 versions & 2 rubygems