Sha256: 7981a08f0e9578601af0f9fd48687a64ab0df6817e6377710d4b8d8703d04ae4
Contents?: true
Size: 483 Bytes
Versions: 20
Compression:
Stored size: 483 Bytes
Contents
require 'spec_helper' RSpec.configure do |c| c.os = 'Solaris11' 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 "getent group | grep -- \\^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