Sha256: 156c74f3b01f18a9e5e3e52e4ca2c4d8319e913411449eeabd0b5767ac4fe091

Contents?: true

Size: 609 Bytes

Versions: 26

Compression:

Stored size: 609 Bytes

Contents

Shindo.tests('Fog::Rackspace::Networking | virtual_interfaces', ['rackspace']) do
  service = Fog::Rackspace::Networking.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

26 entries across 24 versions & 5 rubygems

Version Path
fog-rackspace-0.1.6 tests/rackspace/models/networking/virtual_interfaces_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-rackspace-0.1.5/tests/rackspace/models/networking/virtual_interfaces_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-rackspace-0.1.5/tests/rackspace/models/networking/virtual_interfaces_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-rackspace-0.1.5/tests/rackspace/models/networking/virtual_interfaces_tests.rb
fog-rackspace-0.1.5 tests/rackspace/models/networking/virtual_interfaces_tests.rb
fog-rackspace-0.1.4 tests/rackspace/models/networking/virtual_interfaces_tests.rb
fog-rackspace-0.1.3 tests/rackspace/models/networking/virtual_interfaces_tests.rb
fog-rackspace-0.1.2 tests/rackspace/models/networking/virtual_interfaces_tests.rb
fog-rackspace-0.1.1 tests/rackspace/models/networking/virtual_interfaces_tests.rb
fog-rackspace-0.1.0 tests/rackspace/models/networking/virtual_interfaces_tests.rb
fog-1.37.0 tests/rackspace/models/networking/virtual_interfaces_tests.rb
fog-1.36.0 tests/rackspace/models/networking/virtual_interfaces_tests.rb
fog-1.35.0 tests/rackspace/models/networking/virtual_interfaces_tests.rb
fog-2.0.0.pre.0 tests/rackspace/models/networking/virtual_interfaces_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/rackspace/models/networking/virtual_interfaces_tests.rb
fog-1.34.0 tests/rackspace/models/networking/virtual_interfaces_tests.rb
fog-1.33.0 tests/rackspace/models/networking/virtual_interfaces_tests.rb
fog-1.32.0 tests/rackspace/models/networking/virtual_interfaces_tests.rb
fog-1.31.0 tests/rackspace/models/networking/virtual_interfaces_tests.rb
fog-1.30.0 tests/rackspace/models/networking/virtual_interfaces_tests.rb