Sha256: 9ade954c2c63c5ea577c35551351f26a9447f5bb1a91c8a60f63f2955359b7a3

Contents?: true

Size: 480 Bytes

Versions: 20

Compression:

Stored size: 480 Bytes

Contents

require 'spec_helper'

RSpec.configure do |c|
  c.os = 'AIX'
end

describe group('root') do
  it { should exist }
  its(:command) { should eq "getent group | grep -wq -- root" }
end

describe group('invalid-group') do
  it { should_not exist }
end

describe group('root') do
  it { should have_gid 0 }
  its(:command) { should eq "cat etc/group | grep -w -- \\^root | cut -f 3 -d ':' | grep -w -- 0" }
end

describe group('root') do
  it { should_not have_gid 'invalid-gid' }
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
serverspec-0.11.1 spec/aix/group_spec.rb
serverspec-0.11.0 spec/aix/group_spec.rb
serverspec-0.10.13 spec/aix/group_spec.rb
serverspec-0.10.12 spec/aix/group_spec.rb
serverspec-0.10.11 spec/aix/group_spec.rb
serverspec-0.10.10 spec/aix/group_spec.rb
serverspec-0.10.9 spec/aix/group_spec.rb
serverspec-0.10.8 spec/aix/group_spec.rb
serverspec-0.10.7 spec/aix/group_spec.rb
serverspec-0.10.6 spec/aix/group_spec.rb
serverspec-0.10.5 spec/aix/group_spec.rb
serverspec-0.10.4 spec/aix/group_spec.rb
serverspec-0.10.3 spec/aix/group_spec.rb
serverspec-0.10.2 spec/aix/group_spec.rb
serverspec-0.10.1 spec/aix/group_spec.rb
serverspec-0.10.0 spec/aix/group_spec.rb
serverspec-0.9.8 spec/aix/group_spec.rb
serverspec-0.9.7 spec/aix/group_spec.rb
serverspec-0.9.6 spec/aix/group_spec.rb
serverspec-0.9.5 spec/aix/group_spec.rb