Sha256: d071bcae3d556fb40705139815223cb804a8100fbb91faac930821e0622c3ebf
Contents?: true
Size: 723 Bytes
Versions: 4
Compression:
Stored size: 723 Bytes
Contents
require 'rubygems' require 'test/unit' require 'context' #gem install jeremymcanally-context -s http://gems.github.com require 'mocha' #gem install mocha require 'matchy' #gem install jeremymcanally-matchy -s http://gems.github.com $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'alias' class Test::Unit::TestCase def capture_stdout(&block) original_stdout = $stdout $stdout = fake = StringIO.new begin yield ensure $stdout = original_stdout end fake.string end def capture_stderr(&block) original_stderr = $stderr $stderr = fake = StringIO.new begin yield ensure $stderr = original_stderr end fake.string end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
cldwalker-alias-0.2.0 | test/test_helper.rb |
cldwalker-alias-0.2.1 | test/test_helper.rb |
alias-0.2.0 | test/test_helper.rb |
alias-0.2.1 | test/test_helper.rb |