Sha256: f4d03911f20c774476385d31140fc50f83244e7050cf1f2139b2c96b797b760d

Contents?: true

Size: 368 Bytes

Versions: 1

Compression:

Stored size: 368 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'viiite'
require 'stringio'

def capture_io
  stdout, stderr = $stdout, $stderr
  out, err = StringIO.new, StringIO.new
  $stdout, $stderr = out, err
  yield
  [out.string, err.string]
ensure
  $stdout, $stderr = stdout, stderr
end

def fixtures_folder
  File.expand_path('../fixtures', __FILE__)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
viiite-0.2.0 spec/spec_helper.rb