Sha256: a5feaaa7fa6f755f0c6b2f7999e3f70b55c4854896547370aef843e50bf36b2d

Contents?: true

Size: 448 Bytes

Versions: 2

Compression:

Stored size: 448 Bytes

Contents

require 'simplecov'
require 'coveralls'
Coveralls.wear!

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
  SimpleCov::Formatter::HTMLFormatter,
  Coveralls::SimpleCov::Formatter
]

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'pebbles/lovelive'

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pebbles-lovelive-0.2.0 spec/spec_helper.rb
pebbles-lovelive-0.1.0 spec/spec_helper.rb