Sha256: 2936d53abb02ac754aa45028576ac1e39e485bcbfeda1fca27768e60c9835bce
Contents?: true
Size: 480 Bytes
Versions: 1
Compression:
Stored size: 480 Bytes
Contents
begin require 'simplecov' require 'debugger' rescue LoadError # ignore end require 'csl' require 'rexml/document' require 'nokogiri' module SilentWarnings require 'stringio' # # Adapted form silent_warnings gist by @avdi # https://gist.github.com/1170926 # def silent_warnings original_stderr = $stderr $stderr = StringIO.new yield ensure $stderr = original_stderr end end RSpec.configure do |config| config.include(SilentWarnings) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
csl-1.0.0.pre1 | spec/spec_helper.rb |