Sha256: 884893a98f34d1cda3b399823ef3a1b2382e51fa24e8c55331f97bbddc1a7450

Contents?: true

Size: 607 Bytes

Versions: 41

Compression:

Stored size: 607 Bytes

Contents

Shindo.tests('Fog::Compute::RackspaceV2 | virtual_interfaces', ['rackspace']) do
  service = Fog::Compute::RackspaceV2.new

  options = {
    :name => "fog_server_#{Time.now.to_i.to_s}",
    :flavor_id => rackspace_test_flavor_id(service),
    :image_id => rackspace_test_image_id(service)
  }

  tests('virtual_interfaces') do
    pending if Fog.mocking?
    begin
      @server = service.servers.create options
      @server.wait_for { ready? }

      tests('#virtual_interfaces').succeeds do
        @server.virtual_interfaces.all
      end

    ensure
      @server.destroy if @server
    end
  end
end

Version data entries

41 entries across 39 versions & 6 rubygems

Version Path
fog-1.30.0 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb
fog-1.29.0 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb
fog-1.28.0 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb
fog-1.27.0 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb
fog-1.26.0 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb
fog-1.25.0 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb
nsidc-fog-1.24.1 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb
fog-1.24.0 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb
ns-fog-1.22.11 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb
ns-fog-1.22.10 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb
ns-fog-1.22.9 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb
ns-fog-1.22.8 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb
ns-fog-1.22.7 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb
ns-fog-1.22.6 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb
fog-1.23.0 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb
ns-fog-1.22.4 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb
ns-fog-1.22.3 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb
ns-fog-1.22.2 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb
fog-1.22.1 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb
fog-1.22.0 tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb