Sha256: 07533c659da0fb00648713fb528108c2e2cadd5fb9edad4633552102fcb1c4e3

Contents?: true

Size: 138 Bytes

Versions: 14

Compression:

Stored size: 138 Bytes

Contents

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
serverspec-0.1.6 lib/serverspec/matchers/be_user.rb
serverspec-0.1.5 lib/serverspec/matchers/be_user.rb
serverspec-0.1.4 lib/serverspec/matchers/be_user.rb
serverspec-0.1.3 lib/serverspec/matchers/be_user.rb
serverspec-0.1.2 lib/serverspec/matchers/be_user.rb
serverspec-0.1.1 lib/serverspec/matchers/be_user.rb
serverspec-0.1.0 lib/serverspec/matchers/be_user.rb
serverspec-0.0.19 lib/serverspec/matchers/be_user.rb
serverspec-0.0.18 lib/serverspec/matchers/be_user.rb
serverspec-0.0.17 lib/serverspec/matchers/be_user.rb
serverspec-0.0.16 lib/serverspec/matchers/be_user.rb
serverspec-0.0.15 lib/serverspec/matchers/be_user.rb
serverspec-0.0.14 lib/serverspec/matchers/be_user.rb
serverspec-0.0.13 lib/serverspec/matchers/be_user.rb