Sha256: 7be0871d4046fa0430842f540ba48821dd52a4ff2ce8769ec41a7c864f07d3cb
Contents?: true
Size: 614 Bytes
Versions: 18
Compression:
Stored size: 614 Bytes
Contents
require 'spec_helper' describe Specinfra::HostInventory::Kernel do describe "get" do let(:host_inventory) { Specinfra::HostInventory.instance } let(:command_class) { Specinfra::Command::Darwin::Base } let(:error_message) { "get_kernel is not implemented in #{command_class}" } let(:kernel_inventory) { Specinfra::HostInventory::Kernel.new(host_inventory) } let(:result) { kernel_inventory.get } example "it includes the value of os_info[:arch] in the key 'machine'" do expect(result).to include( "machine" => host_inventory.backend.os_info[:arch] ) end end end
Version data entries
18 entries across 18 versions & 1 rubygems