Sha256: 580457ec416ffd14f7b1825143d452adbd2d03750add2eb4d3977dc0d2a03c76
Contents?: true
Size: 640 Bytes
Versions: 30
Compression:
Stored size: 640 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
30 entries across 30 versions & 4 rubygems