Sha256: 7d3cb6b3609e6a9911982f73eb3ab3cac72371ecc0982c35f682b6b9930b828b

Contents?: true

Size: 187 Bytes

Versions: 5

Compression:

Stored size: 187 Bytes

Contents

RSpec::Matchers.define :have_gid do |gid|
  match do |group|
    if group.respond_to?(:has_gid?)
      group.has_gid?(gid)
    else
      backend.check_gid(group, gid)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
serverspec-0.5.8 lib/serverspec/matchers/have_gid.rb
serverspec-0.5.7 lib/serverspec/matchers/have_gid.rb
serverspec-0.5.6 lib/serverspec/matchers/have_gid.rb
serverspec-0.5.5 lib/serverspec/matchers/have_gid.rb
serverspec-0.5.4 lib/serverspec/matchers/have_gid.rb