Sha256: 6f51bf19e985b3be8d40491116c096332ca88de9e57c76835d6e77520809c9f7

Contents?: true

Size: 551 Bytes

Versions: 1

Compression:

Stored size: 551 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 '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

1 entries across 1 versions & 1 rubygems

Version Path
frank-0.2.2 test/helper.rb