Sha256: 9f12343512ebd5a524c9503edfac5d6fe21aa73b6bdf8de354188e8e083ba18d

Contents?: true

Size: 290 Bytes

Versions: 13

Compression:

Stored size: 290 Bytes

Contents

require 'test_plugin_helper'

class ForemanRemoteExecutionNicExtensionsTest < ActiveSupport::TestCase
  let(:host) { FactoryBot.create(:host) }

  it 'sets the first primary interface as the execution interface' do
    assert_equal host.interfaces.first, host.execution_interface
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
foreman_remote_execution-14.1.2 test/unit/concerns/nic_extensions_test.rb
foreman_remote_execution-14.1.1 test/unit/concerns/nic_extensions_test.rb
foreman_remote_execution-14.0.2 test/unit/concerns/nic_extensions_test.rb
foreman_remote_execution-14.0.1 test/unit/concerns/nic_extensions_test.rb
foreman_remote_execution-13.2.6 test/unit/concerns/nic_extensions_test.rb
foreman_remote_execution-14.0.0 test/unit/concerns/nic_extensions_test.rb
foreman_remote_execution-13.2.5 test/unit/concerns/nic_extensions_test.rb
foreman_remote_execution-13.2.4 test/unit/concerns/nic_extensions_test.rb
foreman_remote_execution-13.2.3 test/unit/concerns/nic_extensions_test.rb
foreman_remote_execution-13.2.2 test/unit/concerns/nic_extensions_test.rb
foreman_remote_execution-13.2.1 test/unit/concerns/nic_extensions_test.rb
foreman_remote_execution-13.2.0 test/unit/concerns/nic_extensions_test.rb
foreman_remote_execution-13.0.0 test/unit/concerns/nic_extensions_test.rb