Sha256: b8db255755e8ec821365f9e6db78bf1cffaff1cb4d92ec85287711bbe8b6bb93

Contents?: true

Size: 164 Bytes

Versions: 10

Compression:

Stored size: 164 Bytes

Contents

RSpec::Matchers.define :be_user do
  match do |actual|
    ret = ssh_exec(RSpec.configuration.host, commands.check_user(actual))
    ret[:exit_code] == 0
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
serverspec-0.0.12 lib/serverspec/matchers/be_user.rb
serverspec-0.0.11 lib/serverspec/matchers/be_user.rb
serverspec-0.0.10 lib/serverspec/matchers/be_user.rb
serverspec-0.0.9 lib/serverspec/matchers/be_user.rb
serverspec-0.0.8 lib/serverspec/matchers/be_user.rb
serverspec-0.0.7 lib/serverspec/matchers/be_user.rb
serverspec-0.0.6 lib/serverspec/matchers/be_user.rb
serverspec-0.0.5 lib/serverspec/matchers/be_user.rb
serverspec-0.0.4 lib/serverspec/matchers/be_user.rb
serverspec-0.0.3 lib/serverspec/matchers/be_user.rb