Sha256: b4dea5df07f26d376148d4a70d16dc0bd0144fc9773cecc099d410f8d5b245c3
Contents?: true
Size: 458 Bytes
Versions: 8
Compression:
Stored size: 458 Bytes
Contents
require 'spec_helper' include SpecInfra::Helper::FreeBSD describe group('root') do it { should exist } its(:command) { should eq "getent group 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 -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
8 entries across 8 versions & 1 rubygems