Sha256: 0a5709e2942a15ce1d9b0fbca5477abfc5aa458c9d32a058a082f5350a6647b5

Contents?: true

Size: 229 Bytes

Versions: 7

Compression:

Stored size: 229 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

7 entries across 7 versions & 1 rubygems

Version Path
cliutils-2.2.6 spec/spec_helper.rb
cliutils-2.2.5 spec/spec_helper.rb
cliutils-2.2.4 spec/spec_helper.rb
cliutils-2.2.3 spec/spec_helper.rb
cliutils-2.2.2 spec/spec_helper.rb
cliutils-2.2.1 spec/spec_helper.rb
cliutils-2.2.0 spec/spec_helper.rb