Sha256: b2e8b8d11ac7aaf932355ff26a1965646acf07718c0f7fa51d3c2092fd17e0e5

Contents?: true

Size: 450 Bytes

Versions: 4

Compression:

Stored size: 450 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 'rack/test'
require 'template/helpers'
require 'frank'

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
frank-0.3.1 spec/helper.rb
frank-0.3.0 spec/helper.rb
frank-0.3.0.beta2 spec/helper.rb
frank-0.3.0.beta spec/helper.rb