Sha256: 9bb56b34e7f36736027560bb4748813cdda28597d7abc41b326b849d68a45feb

Contents?: true

Size: 598 Bytes

Versions: 37

Compression:

Stored size: 598 Bytes

Contents

Shindo.tests('HP::LB | load balancer collection', ['hp', 'lb', 'load_balancer']) do

  attributes = {:name => 'fog-lb', :nodes => [{'address' => '15.185.1.1', 'port' => '80'}]}
  collection_tests(HP[:lb].load_balancers, attributes, true)

  tests('success') do

    attributes = {:name => 'fog-lb', :nodes => [{'address' => '15.185.1.1', 'port' => '80'}]}
    @lb = HP[:lb].load_balancers.create(attributes)

    tests('#all').succeeds do
      HP[:lb].load_balancers.all
    end

    tests("#get(#{@lb.id})").succeeds do
      HP[:lb].load_balancers.get(@lb.id)
    end

    @lb.destroy
  end

end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
fog-1.22.0 tests/hp/models/lb/load_balancers_tests.rb
fog-1.21.0 tests/hp/models/lb/load_balancers_tests.rb
fog-maestrodev-1.20.0.20140305101839 tests/hp/models/lb/load_balancers_tests.rb
fog-maestrodev-1.20.0.20140305101305 tests/hp/models/lb/load_balancers_tests.rb
fog-maestrodev-1.19.0.20140212012611 tests/hp/models/lb/load_balancers_tests.rb
fog-1.20.0 tests/hp/models/lb/load_balancers_tests.rb
fog-maestrodev-1.19.0.20140110004459 tests/hp/models/lb/load_balancers_tests.rb
fog-maestrodev-1.19.0.20140110003812 tests/hp/models/lb/load_balancers_tests.rb
fog-maestrodev-1.19.0.20140109202555 tests/hp/models/lb/load_balancers_tests.rb
fog-maestrodev-1.19.0.20140107192102 tests/hp/models/lb/load_balancers_tests.rb
fog-maestrodev-1.19.0.20140107142106 tests/hp/models/lb/load_balancers_tests.rb
fog-maestrodev-1.19.0.20131219203941 tests/hp/models/lb/load_balancers_tests.rb
fog-maestrodev-1.18.0.20131219193542 tests/hp/models/lb/load_balancers_tests.rb
fog-1.19.0 tests/hp/models/lb/load_balancers_tests.rb
fog-maestrodev-1.18.0.20131219033443 tests/hp/models/lb/load_balancers_tests.rb
fog-maestrodev-1.18.0.20131219032002 tests/hp/models/lb/load_balancers_tests.rb
fog-maestrodev-1.18.0.20131219030716 tests/hp/models/lb/load_balancers_tests.rb
fog-maestrodev-1.18.0.20131219022322 tests/hp/models/lb/load_balancers_tests.rb
fog-maestrodev-1.18.0.20131218202447 tests/hp/models/lb/load_balancers_tests.rb
fog-maestrodev-1.18.0.20131209091424 tests/hp/models/lb/load_balancers_tests.rb