test/helper.rb in write_xlsx-0.69.0 vs test/helper.rb in write_xlsx-0.70.0
- old
+ new
@@ -1,7 +1,11 @@
# -*- coding: utf-8 -*-
require 'rubygems'
+require 'simplecov' if RUBY_VERSION >= "1.9"
require 'bundler'
+
+SimpleCov.start if RUBY_VERSION >= "1.9"
+
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"