1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/hp/models/lb/load_balancer_node_tests.rb

9 lines
No EOL
323 B
Ruby

Shindo.tests('HP::LB | load balancer node model', ['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'}
model_tests(@lb.nodes, attributes, true)
end