lib/minitest-chef-handler.rb in minitest-chef-handler-0.6.1 vs lib/minitest-chef-handler.rb in minitest-chef-handler-0.6.2

- old
+ new

@@ -1,5 +1,6 @@ +require 'minitest-chef-handler/core_ext' require 'minitest-chef-handler/context' require 'minitest-chef-handler/resources' require 'minitest-chef-handler/unit' require 'minitest-chef-handler/spec' require 'minitest-chef-handler/runner' @@ -22,9 +23,11 @@ def report # do not run tests if chef failed return if failed? require_test_suites(@options.delete(:path)) + + MiniTest::Unit.output = ::Chef::Log if @options[:ci_reports] ENV['CI_REPORTS'] = @options[:ci_reports] runner = CIRunner.new(run_status) else