Sha256: e1fe8b3e9bcc77f6a82bf14842b6eb452b8a4b3030047092fe38c86098110e75

Contents?: true

Size: 168 Bytes

Versions: 10

Compression:

Stored size: 168 Bytes

Contents

RSpec::Matchers.define :belong_to_group do |group|
  match do |user|
    ret = ssh_exec(commands.check_belonging_group(user, group))
    ret[:exit_code] == 0
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
serverspec-0.1.6 lib/serverspec/matchers/belong_to_group.rb
serverspec-0.1.5 lib/serverspec/matchers/belong_to_group.rb
serverspec-0.1.4 lib/serverspec/matchers/belong_to_group.rb
serverspec-0.1.3 lib/serverspec/matchers/belong_to_group.rb
serverspec-0.1.2 lib/serverspec/matchers/belong_to_group.rb
serverspec-0.1.1 lib/serverspec/matchers/belong_to_group.rb
serverspec-0.1.0 lib/serverspec/matchers/belong_to_group.rb
serverspec-0.0.19 lib/serverspec/matchers/belong_to_group.rb
serverspec-0.0.18 lib/serverspec/matchers/belong_to_group.rb
serverspec-0.0.17 lib/serverspec/matchers/belong_to_group.rb