Sha256: e82c2abd3adf36e0bf98a019e0a762940291ee680cfce80cc9f3954eb82d9cb3

Contents?: true

Size: 508 Bytes

Versions: 32

Compression:

Stored size: 508 Bytes

Contents

Shindo.tests("Fog::Network[:openstack] | floating_ip", ['openstack']) do

  tests('success') do

    tests('#create').succeeds do
      @instance = Fog::Network[:openstack].floating_ips.create(:floating_network_id => 'f0000000-0000-0000-0000-000000000000')

      !@instance.id.nil?
    end

    tests('#update').succeeds do
      @instance.port_id = 'p0000000-0000-0000-0000-000000000000'
      @instance.update
    end

    tests('#destroy').succeeds do
      @instance.destroy == true
    end

  end

end

Version data entries

32 entries across 32 versions & 5 rubygems

Version Path
fog-1.24.0 tests/openstack/models/network/floating_ip_tests.rb
ns-fog-1.22.11 tests/openstack/models/network/floating_ip_tests.rb
ns-fog-1.22.10 tests/openstack/models/network/floating_ip_tests.rb
ns-fog-1.22.9 tests/openstack/models/network/floating_ip_tests.rb
ns-fog-1.22.8 tests/openstack/models/network/floating_ip_tests.rb
ns-fog-1.22.7 tests/openstack/models/network/floating_ip_tests.rb
ns-fog-1.22.6 tests/openstack/models/network/floating_ip_tests.rb
fog-1.23.0 tests/openstack/models/network/floating_ip_tests.rb
ns-fog-1.22.4 tests/openstack/models/network/floating_ip_tests.rb
ns-fog-1.22.3 tests/openstack/models/network/floating_ip_tests.rb
ns-fog-1.22.2 tests/openstack/models/network/floating_ip_tests.rb
fog-1.22.1 tests/openstack/models/network/floating_ip_tests.rb