Sha256: 931391adfe00220d89ee7bee7628c6772c5ccaae35574e94a5342c0c0cd9e2cc
Contents?: true
Size: 521 Bytes
Versions: 4
Compression:
Stored size: 521 Bytes
Contents
unless ENV['CI'] require 'simplecov' SimpleCov.start do add_filter '.bundle' add_group 'TopHat', 'lib/tophat' add_group 'Specs', 'spec' end end require 'tophat' require 'rspec' require 'rails/all' RSpec.configure do |config| config.before(:suite) do TopHat.setup end config.after(:each) do TopHat.reset end end def capture_warning begin old_stderr = $stderr $stderr = StringIO.new yield result = $stderr.string ensure $stderr = old_stderr end result end
Version data entries
4 entries across 4 versions & 2 rubygems