Sha256: bbf3c9b6af126010c95a87d978795fbf7d1bcfc57256cfa02896ba4605c29d70
Contents?: true
Size: 501 Bytes
Versions: 20
Compression:
Stored size: 501 Bytes
Contents
shared_examples_for 'support group exist matcher' do |name| describe 'group exist' do describe group(name) do it { should be_group } end describe group('invalid-group') do it { should_not be_group } end end end shared_examples_for 'support group have_gid matcher' do |name, gid| describe 'have_gid' do describe group(name) do it { should have_gid gid } end describe group(name) do it { should_not have_gid 'invalid-gid' } end end end
Version data entries
20 entries across 20 versions & 1 rubygems