Sha256: 8addb7fe58512a98c89542dbe90b9f37249d4c2b19bf637ef4a0b1827fa793c4
Contents?: true
Size: 324 Bytes
Versions: 1
Compression:
Stored size: 324 Bytes
Contents
testdir = File.dirname(__FILE__) $:.unshift testdir unless $LOAD_PATH.include?(testdir) 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
frank-0.3.2 | spec/helper.rb |