Sha256: 84ad21118f0685778d6af50514ca087cb67722c76de5a3af2453f50bc36c6106
Contents?: true
Size: 399 Bytes
Versions: 1
Compression:
Stored size: 399 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'credy' def silent _stdout = $stdout $stdout = fake = StringIO.new begin yield ensure $stdout = _stdout end fake.string end # Don't colorize strings in test environment class String def colorize(color_code) self end end RSpec.configure do |config| config.expect_with :rspec do |c| c.syntax = :expect end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
credy-0.2.0 | spec/spec_helper.rb |