Sha256: a90fd2ef4072a165c9408920c4b98249ef0e86f8877273367b8eb1e4ac6c9906

Contents?: true

Size: 454 Bytes

Versions: 2

Compression:

Stored size: 454 Bytes

Contents

$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$:.unshift(File.dirname(__FILE__))

require 'dircat'
include DirCat

TEST_DIR = File.expand_path( File.join( File.dirname(__FILE__), "fixtures" ) )

# Spec::Runner.configure do |config|
# end

# require 'test/unit'
require "stringio"

def with_stdout_captured
  old_stdout = $stdout
  out = StringIO.new
  $stdout = out
  begin
    yield
  ensure
    $stdout = old_stdout
  end
  out.string
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dircat-0.1.5 spec/spec_helper.rb
dircat-0.1.4 spec/spec_helper.rb