Sha256: fb30588fd2fc0ca8d3fd44ac3e403cde93530d790ab99b12d0ca055a0dacc5fc

Contents?: true

Size: 233 Bytes

Versions: 13

Compression:

Stored size: 233 Bytes

Contents

# require 'coveralls'
require 'rspec'
# require 'simplecov'
require 'stringio'

# SimpleCov.start
# Coveralls.wear!

def capture_stdout
  old = $stdout
  $stdout = fake = StringIO.new
  yield
  fake.string
ensure
  $stdout = old
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
pinpress-1.6.3 spec/spec_helper.rb
pinpress-1.6.2 spec/spec_helper.rb
pinpress-1.6.1 spec/spec_helper.rb
pinpress-1.6.0 spec/spec_helper.rb
pinpress-1.5.2 spec/spec_helper.rb
pinpress-1.5.1 spec/spec_helper.rb
pinpress-1.5.0 spec/spec_helper.rb
pinpress-1.4.2 spec/spec_helper.rb
pinpress-1.4.1 spec/spec_helper.rb
pinpress-1.4.0 spec/spec_helper.rb
pinpress-1.3.3 spec/spec_helper.rb
pinpress-1.3.2 spec/spec_helper.rb
pinpress-1.3.0 spec/spec_helper.rb