Sha256: c32edc398387f15626a7c1d8e405041fd1d7165114ff59079dbc998e04bd6230

Contents?: true

Size: 314 Bytes

Versions: 1

Compression:

Stored size: 314 Bytes

Contents

require 'rubygems'
require 'bundler/setup'

require 'credy'

def silent
  _stdout = $stdout
  $stdout = StringIO.new
  begin
    yield
  ensure
    $stdout = _stdout
  end
end

# Don't colorize strings in test environment
class String
  def colorize(color_code)
    self
  end
end

RSpec.configure do |config|
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
credy-0.1.1 spec/spec_helper.rb