From fec23fb32fb899b87a8b2c94e2d2069b6b4c633c Mon Sep 17 00:00:00 2001 From: Michal Cichra Date: Tue, 27 Feb 2018 13:30:15 +0100 Subject: [PATCH] [test] allow debugging in JRuby * disable coverage tracking unless on CI --- test/helper.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/helper.rb b/test/helper.rb index 26bc4f9b..6f277a2a 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -5,7 +5,8 @@ SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter SimpleCov.start rescue LoadError -end +end if ENV['CI'] + require 'test/unit' require 'httpclient'