Sha256: 68b46d924d4cbf3bd7550b5205d59247015ebc722801a94031cc7b0d194a695d

Contents?: true

Size: 361 Bytes

Versions: 9

Compression:

Stored size: 361 Bytes

Contents

# encoding: UTF-8

require 'codeclimate-test-reporter'
require 'stringio'

CodeClimate::TestReporter.start do
  add_filter '/spec/'
end

$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'

def capture_stdout(&_block)
  original_stdout = $stdout
  $stdout = fake = StringIO.new
  begin
    yield
  ensure
    $stdout = original_stdout
  end
  fake.string
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
factor-0.6.12 ./spec/spec_helper.rb
factor-0.6.11 ./spec/spec_helper.rb
factor-0.6.10 ./spec/spec_helper.rb
factor-0.6.9 ./spec/spec_helper.rb
factor-0.6.8 ./spec/spec_helper.rb
factor-0.6.7 ./spec/spec_helper.rb
factor-0.6.6 ./spec/spec_helper.rb
factor-0.6.5 ./spec/spec_helper.rb
factor-0.6.4 ./spec/spec_helper.rb