Sha256: 5341237df4eb55cddde23b42952ef27cf82481d96ab2d70ab25a51da20fcfdf8

Contents?: true

Size: 315 Bytes

Versions: 14

Compression:

Stored size: 315 Bytes

Contents

require 'spec_helper'

set :os, :family => 'linux'

describe get_command(:get_inventory_memory) do
  it { should eq 'cat /proc/meminfo' }
end

describe get_command(:get_inventory_cpu) do
  it { should eq 'cat /proc/cpuinfo' }
end

describe get_command(:get_inventory_kernel) do
  it { should eq 'uname -s -r' }
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
specinfra-cisco-2.41.0 spec/command/linux/inventory_spec.rb
specinfra-cisco-2.40.2 spec/command/linux/inventory_spec.rb
specinfra-2.43.3 spec/command/linux/inventory_spec.rb
specinfra-2.43.2 spec/command/linux/inventory_spec.rb
specinfra-2.43.1 spec/command/linux/inventory_spec.rb
specinfra-2.43.0 spec/command/linux/inventory_spec.rb
specinfra-2.42.2 spec/command/linux/inventory_spec.rb
specinfra-2.42.1 spec/command/linux/inventory_spec.rb
specinfra-2.42.0 spec/command/linux/inventory_spec.rb
specinfra-2.41.1 spec/command/linux/inventory_spec.rb
specinfra-2.41.0 spec/command/linux/inventory_spec.rb
specinfra-2.40.2 spec/command/linux/inventory_spec.rb
specinfra-2.40.1 spec/command/linux/inventory_spec.rb
specinfra-2.40.0 spec/command/linux/inventory_spec.rb