Sha256: ab8dc5955d00699f91dbdbac77101eac5872d9717ab055fbf5653a1042765e66

Contents?: true

Size: 170 Bytes

Versions: 3

Compression:

Stored size: 170 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
serverspec-0.0.5 lib/serverspec/matchers/be_running.rb
serverspec-0.0.4 lib/serverspec/matchers/be_running.rb
serverspec-0.0.3 lib/serverspec/matchers/be_running.rb