Fix testing with simplecov.

This commit is contained in:
Akinori MUSHA 2013-04-02 22:59:52 +09:00
parent 7ab0a15d78
commit 1d9dc5754c

View file

@ -1,8 +1,8 @@
require "bundler/gem_tasks"
require 'bundler/gem_tasks'
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.ruby_opts << '-r./test/simplecov_start.rb' if defined?(SimbleCov)
test.ruby_opts << '-r./test/simplecov_start.rb' if RUBY_VERSION >= '1.9'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end