diff --git a/ruby-testing/src/rb/testing/patch/testunit/minitest/rm_reporter_plugin.rb b/ruby-testing/src/rb/testing/patch/testunit/minitest/rm_reporter_plugin.rb index 63ff9846088..b5cb3fb9ed6 100644 --- a/ruby-testing/src/rb/testing/patch/testunit/minitest/rm_reporter_plugin.rb +++ b/ruby-testing/src/rb/testing/patch/testunit/minitest/rm_reporter_plugin.rb @@ -4,10 +4,10 @@ require 'teamcity/utils/runner_utils' require 'teamcity/utils/url_formatter' rescue LoadError - MiniTest::Unit.runner.output.puts("====================================================================================================\n") - MiniTest::Unit.runner.output.puts("RubyMine reporter works only if it test was launched using RubyMine IDE or TeamCity CI server !!!\n") - MiniTest::Unit.runner.output.puts("====================================================================================================\n") - MiniTest::Unit.runner.output.puts("Using default results reporter...\n") + $stderr.puts("====================================================================================================\n") + $stderr.puts("RubyMine reporter works only if it test was launched using RubyMine IDE or TeamCity CI server !!!\n") + $stderr.puts("====================================================================================================\n") + $stderr.puts("Using default results reporter...\n") else module Minitest