Sha256: 1aa92f107653313470eee6585e5844c03eff8cdba861290d17e11e104a028e84

Contents?: true

Size: 545 Bytes

Versions: 4

Compression:

Stored size: 545 Bytes

Contents

require_relative '../../test_helper'

describe Fog::Vsphere::Compute::Real do
  include Fog::Vsphere::TestHelper

  before { Fog.unmock! }
  after { Fog.mock! }

  let(:compute) { prepare_compute }

  describe '#get_vm_first_scsi_controller' do
    it 'gets virtual machine by uuid' do
      with_webmock_cassette('get_vm_first_scsi_controller') do
        controller = compute.get_vm_first_scsi_controller('52d810bd-077b-368d-a86f-0b2ad84269f8')
        assert_equal(controller.type, 'VirtualLsiLogicSASController')
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-vsphere-3.7.0 tests/requests/compute/get_vm_first_scsi_controller_tests.rb
fog-vsphere-3.6.8 tests/requests/compute/get_vm_first_scsi_controller_tests.rb
fog-vsphere-3.6.7 tests/requests/compute/get_vm_first_scsi_controller_tests.rb
fog-vsphere-3.6.6 tests/requests/compute/get_vm_first_scsi_controller_tests.rb