Sha256: 8d4d25d2c209efda77021d12e6c06c2646e47abbc816b83cc0abc0972cc07f1e

Contents?: true

Size: 617 Bytes

Versions: 58

Compression:

Stored size: 617 Bytes

Contents

Shindo.tests('Fog::Compute[:xenserver] | create_network request', ['xenserver']) do

  compute = Fog::Compute[:xenserver]

  tests('success') do
    test('#create_network') do
      @ref = compute.create_network 'test-net'
      !(compute.networks.find { |n| n.reference == @ref }).nil?
    end
    test('#create_network with description') do
      # Destroy previously created network
      compute.networks.get(@ref).destroy
      @ref = compute.create_network 'test-net', :description => 'foo'
      !(compute.networks.find { |n| n.description == 'foo' }).nil?
    end
  end

  compute.destroy_network @ref
  
end

Version data entries

58 entries across 58 versions & 4 rubygems

Version Path
fog-1.22.0 tests/xenserver/requests/compute/create_network_tests.rb
fog-1.21.0 tests/xenserver/requests/compute/create_network_tests.rb
fog-maestrodev-1.20.0.20140305101839 tests/xenserver/requests/compute/create_network_tests.rb
fog-maestrodev-1.20.0.20140305101305 tests/xenserver/requests/compute/create_network_tests.rb
fog-maestrodev-1.19.0.20140212012611 tests/xenserver/requests/compute/create_network_tests.rb
fog-1.20.0 tests/xenserver/requests/compute/create_network_tests.rb
fog-maestrodev-1.19.0.20140110004459 tests/xenserver/requests/compute/create_network_tests.rb
fog-maestrodev-1.19.0.20140110003812 tests/xenserver/requests/compute/create_network_tests.rb
fog-maestrodev-1.19.0.20140109202555 tests/xenserver/requests/compute/create_network_tests.rb
fog-maestrodev-1.19.0.20140107192102 tests/xenserver/requests/compute/create_network_tests.rb
fog-maestrodev-1.19.0.20140107142106 tests/xenserver/requests/compute/create_network_tests.rb
fog-maestrodev-1.19.0.20131219203941 tests/xenserver/requests/compute/create_network_tests.rb
fog-maestrodev-1.18.0.20131219193542 tests/xenserver/requests/compute/create_network_tests.rb
fog-1.19.0 tests/xenserver/requests/compute/create_network_tests.rb
fog-maestrodev-1.18.0.20131219033443 tests/xenserver/requests/compute/create_network_tests.rb
fog-maestrodev-1.18.0.20131219032002 tests/xenserver/requests/compute/create_network_tests.rb
fog-maestrodev-1.18.0.20131219030716 tests/xenserver/requests/compute/create_network_tests.rb
fog-maestrodev-1.18.0.20131219022322 tests/xenserver/requests/compute/create_network_tests.rb
fog-maestrodev-1.18.0.20131218202447 tests/xenserver/requests/compute/create_network_tests.rb
fog-maestrodev-1.18.0.20131209091424 tests/xenserver/requests/compute/create_network_tests.rb