Sha256: 3d51120986182302a96eaacd1b5cf7769fa49ea1faf7d88bce8ed9befe08601c

Contents?: true

Size: 322 Bytes

Versions: 7

Compression:

Stored size: 322 Bytes

Contents

RSpec::Matchers.define :get_stdout do |expected|
  match do |command|
      puts <<'EOF'

************************************
"get_stdout" matcher is deprecated.
Use "return_stdout" matcher instead.
************************************

EOF
    ret = backend.do_check(command)
    ret[:stdout] =~ /#{expected}/
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
serverspec-0.2.19 lib/serverspec/matchers/get_stdout.rb
serverspec-0.2.18 lib/serverspec/matchers/get_stdout.rb
serverspec-0.2.17 lib/serverspec/matchers/get_stdout.rb
serverspec-0.2.16 lib/serverspec/matchers/get_stdout.rb
serverspec-0.2.15 lib/serverspec/matchers/get_stdout.rb
serverspec-0.2.14 lib/serverspec/matchers/get_stdout.rb
serverspec-0.2.13 lib/serverspec/matchers/get_stdout.rb