Sha256: 3529fc6cca0feaf57b849fe6a39df2b75a5d9ffba86e241a61f86bf881adf056

Contents?: true

Size: 142 Bytes

Versions: 1

Compression:

Stored size: 142 Bytes

Contents

RSpec::Matchers.define :get_stdout do |expected|
  match do |command|
    ret = do_check(command)
    ret[:stdout] =~ /#{expected}/
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
serverspec-0.1.7 lib/serverspec/matchers/get_stdout.rb