Sha256: 5350ad0bbc9bf7c2134339020f8d5f07b5cdc909582a642d842b074cf139cb00

Contents?: true

Size: 308 Bytes

Versions: 4

Compression:

Stored size: 308 Bytes

Contents

require 'minitest/autorun'
require 'stringio'

# Require files from the project lib-directory
$:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))

def capture_stdout
  existing_stream = $stdout
  $stdout = StringIO.new
  yield
  output = $stdout.string
  $stdout = existing_stream
  return output
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
csv_query-1.0.4 test/test_helper.rb
csv_query-1.0.3 test/test_helper.rb
csv_query-1.0.2 test/test_helper.rb
csv_query-1.0.1 test/test_helper.rb