diff --git a/test/test_helper.rb b/test/test_helper.rb index 689307b..0194583 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -2,6 +2,18 @@ require File.expand_path(File.dirname(__FILE__) + '/../../../test/test_helper') +require 'simplecov' +require 'simplecov-rcov' + +SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ + SimpleCov::Formatter::HTMLFormatter, + SimpleCov::Formatter::RcovFormatter +] + +SimpleCov.start :rails do + root File.expand_path(File.dirname(__FILE__) + '/..') +end + module RedmineMessenger class TestCase include ActionDispatch::TestProcess