Sha256: 1d6eedefa9fc474b78911b4a9bc53893ab051e3ae9c5685df8bbf97e46f5ab75

Contents?: true

Size: 572 Bytes

Versions: 4

Compression:

Stored size: 572 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'
require 'ruby-debug'

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

4 entries across 4 versions & 1 rubygems

Version Path
frank-0.2.6 test/helper.rb
frank-0.2.5 test/helper.rb
frank-0.2.4 test/helper.rb
frank-0.2.3 test/helper.rb