Sha256: 5eb4d02688cdcd77213a5339a26a07fb5bd1895036eaaf5102ffe7336cbc36fd

Contents?: true

Size: 196 Bytes

Versions: 15

Compression:

Stored size: 196 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(example, group, gid)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
serverspec-0.5.3 lib/serverspec/matchers/have_gid.rb
serverspec-0.5.2 lib/serverspec/matchers/have_gid.rb
serverspec-0.5.1 lib/serverspec/matchers/have_gid.rb
serverspec-0.5.0 lib/serverspec/matchers/have_gid.rb
serverspec-0.4.14 lib/serverspec/matchers/have_gid.rb
serverspec-0.4.13 lib/serverspec/matchers/have_gid.rb
serverspec-0.4.12 lib/serverspec/matchers/have_gid.rb
serverspec-0.4.11 lib/serverspec/matchers/have_gid.rb
serverspec-0.4.10 lib/serverspec/matchers/have_gid.rb
serverspec-0.4.9 lib/serverspec/matchers/have_gid.rb
serverspec-0.4.8 lib/serverspec/matchers/have_gid.rb
serverspec-0.4.7 lib/serverspec/matchers/have_gid.rb
serverspec-0.4.6 lib/serverspec/matchers/have_gid.rb
serverspec-0.4.5 lib/serverspec/matchers/have_gid.rb
serverspec-0.4.4 lib/serverspec/matchers/have_gid.rb