Sha256: 70ca5754f080da488df8ee02f5a2508fb27ebf9bd36bd65e5a969ad7aa71df73

Contents?: true

Size: 316 Bytes

Versions: 68

Compression:

Stored size: 316 Bytes

Contents

class Test::Unit::TestCase
  def output_should_match(regexp)
    assert_match regexp, @stdout + @stderr
  end
  alias_method :output_matches, :output_should_match

  def stdout_should_match(regexp)
    assert_match regexp, @stdout 
  end
  def stderr_should_match(regexp)
    assert_match regexp, @stderr 
  end
end

Version data entries

68 entries across 68 versions & 5 rubygems

Version Path
poolparty-1.3.14 vendor/gems/git-style-binaries/test/shoulda_macros/matching_stdio.rb
poolparty-1.3.13 vendor/gems/git-style-binaries/test/shoulda_macros/matching_stdio.rb
poolparty-1.3.8 vendor/gems/git-style-binaries/test/shoulda_macros/matching_stdio.rb
poolparty-1.3.7 vendor/gems/git-style-binaries/test/shoulda_macros/matching_stdio.rb
poolparty-1.3.6 vendor/gems/git-style-binaries/test/shoulda_macros/matching_stdio.rb
poolparty-1.3.4 vendor/gems/git-style-binaries/test/shoulda_macros/matching_stdio.rb
poolparty-1.3.3 vendor/gems/git-style-binaries/test/shoulda_macros/matching_stdio.rb
poolparty-1.3.1 vendor/gems/git-style-binaries/test/shoulda_macros/matching_stdio.rb