Sha256: 50305da4af9ddaf3856211c950c3a1442d77d108c093935afec15fb6ae50012d
Contents?: true
Size: 475 Bytes
Versions: 2
Compression:
Stored size: 475 Bytes
Contents
if RUBY_VERSION > '1.9' require 'simplecov' require 'simplecov-rcov-text' class SimpleCov::Formatter::MergedFormatter def format(result) SimpleCov::Formatter::HTMLFormatter.new.format(result) SimpleCov::Formatter::RcovTextFormatter.new.format(result) end end SimpleCov.formatter = SimpleCov::Formatter::MergedFormatter SimpleCov.start do add_filter "/spec" end end $:.unshift(File.dirname(__FILE__) + '/../lib') require 'log_switch'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
log_switch-0.1.4 | spec/spec_helper.rb |
log_switch-0.1.3 | spec/spec_helper.rb |