Sha256: 30e93e8ab6bdbc6375a59d67311949d5e7623c451aaf5dd152d581fb93362823

Contents?: true

Size: 635 Bytes

Versions: 37

Compression:

Stored size: 635 Bytes

Contents

Shindo.tests("Fog::Network[:openstack] | lb_members", ['openstack']) do
  @lb_member = Fog::Network[:openstack].lb_members.create(:pool_id => 'pool_id',
                                                          :address => '10.0.0.1',
                                                          :protocol_port => '80',
                                                          :weight => 100)
  @lb_members = Fog::Network[:openstack].lb_members

  tests('success') do

    tests('#all').succeeds do
      @lb_members.all
    end

    tests('#get').succeeds do
      @lb_members.get @lb_member.id
    end

  end

  @lb_member.destroy
end

Version data entries

37 entries across 37 versions & 5 rubygems

Version Path
fog-1.28.0 tests/openstack/models/network/lb_members_tests.rb
fog-1.27.0 tests/openstack/models/network/lb_members_tests.rb
fog-1.26.0 tests/openstack/models/network/lb_members_tests.rb
fog-1.25.0 tests/openstack/models/network/lb_members_tests.rb
nsidc-fog-1.24.1 tests/openstack/models/network/lb_members_tests.rb
fog-1.24.0 tests/openstack/models/network/lb_members_tests.rb
ns-fog-1.22.11 tests/openstack/models/network/lb_members_tests.rb
ns-fog-1.22.10 tests/openstack/models/network/lb_members_tests.rb
ns-fog-1.22.9 tests/openstack/models/network/lb_members_tests.rb
ns-fog-1.22.8 tests/openstack/models/network/lb_members_tests.rb
ns-fog-1.22.7 tests/openstack/models/network/lb_members_tests.rb
ns-fog-1.22.6 tests/openstack/models/network/lb_members_tests.rb
fog-1.23.0 tests/openstack/models/network/lb_members_tests.rb
ns-fog-1.22.4 tests/openstack/models/network/lb_members_tests.rb
ns-fog-1.22.3 tests/openstack/models/network/lb_members_tests.rb
ns-fog-1.22.2 tests/openstack/models/network/lb_members_tests.rb
fog-1.22.1 tests/openstack/models/network/lb_members_tests.rb