Sha256: a114afb3aefa9899d0d78785973757fc16bdffc4ab90a8f30847c02bde3dc3f2

Contents?: true

Size: 566 Bytes

Versions: 2

Compression:

Stored size: 566 Bytes

Contents

testdir = File.dirname(__FILE__)
$LOAD_PATH.unshift testdir unless $LOAD_PATH.include?(testdir)
 
libdir = File.dirname(File.dirname(__FILE__)) + '/lib'
$LOAD_PATH.unshift libdir unless $LOAD_PATH.include?(libdir)

require 'stringio'
require 'rubygems'
require 'yaml'
require 'test/unit'
require 'rack/test'
require 'shoulda'
require 'template/helpers'
require 'frank'

module Kernel
 def capture_stdout
   out = StringIO.new
   $stdout = out
   yield
   return out
 ensure
   $stdout = STDOUT
 end
end

class Test::Unit::TestCase
  include Rack::Test::Methods 
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
frank-0.2.1 test/helper.rb
frank-0.2.0 test/helper.rb