Sha256: 5f40039f5ff8d65df3bf1fc440fdc0ccc913c546f60c475de7cb0b17f3eb0962
Contents?: true
Size: 240 Bytes
Versions: 14
Compression:
Stored size: 240 Bytes
Contents
RSpec::Matchers.define :return_stdout do |content| match do |command| ret = backend.run_command(command) if content.instance_of?(Regexp) ret[:stdout] =~ content else ret[:stdout].strip == content end end end
Version data entries
14 entries across 14 versions & 1 rubygems