Sha256: fe27ff307a363164b4c66cdadb1c206d0783837cb96e1148e583b9c0c5978fc3
Contents?: true
Size: 351 Bytes
Versions: 22
Compression:
Stored size: 351 Bytes
Contents
RSpec::Matchers.define :return_stderr do |content| match do |command| if command.respond_to?(:return_stderr?) command.return_stderr?(content) else ret = backend.run_command(command) if content.instance_of?(Regexp) ret[:stderr] =~ content else ret[:stderr].strip == content end end end end
Version data entries
22 entries across 22 versions & 1 rubygems