Sha256: 927effc1d9b6b468278731d8bd9ca884a17b5adc9b20fb1978df153e20c1c824

Contents?: true

Size: 257 Bytes

Versions: 6

Compression:

Stored size: 257 Bytes

Contents

require 'spec_helper'

include Specinfra::Helper::RedHat

describe cgroup('group1') do
  let(:stdout) { "1\r\n" }
  its('cpuset.cpus') { should eq 1 }
end

describe cgroup('group1') do
  let(:stdout) { "1\r\n" }
  its('cpuset.cpus') { should_not eq 0 }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
serverspec-2.0.0.beta8 spec/type/cgroup_spec.rb
serverspec-2.0.0.beta7 spec/type/cgroup_spec.rb
serverspec-2.0.0.beta6 spec/type/cgroup_spec.rb
serverspec-2.0.0.beta5 spec/type/cgroup_spec.rb
serverspec-2.0.0.beta4 spec/type/cgroup_spec.rb
serverspec-2.0.0.beta3 spec/type/cgroup_spec.rb