Sha256: dec1d28e22ee5a7912187494a8efcc4601822cfbea2f1f087788c7b0c8ef243a

Contents?: true

Size: 438 Bytes

Versions: 116

Compression:

Stored size: 438 Bytes

Contents

require_relative "../../test_helper"

module MinitestReportersTest
  class MinitestReporterPluginTest < Minitest::Test
    def test_delegates_io
      reporter = Minitest::Reporters::DefaultReporter.new
      io_handle = STDOUT
      dr = Minitest::Reporters::DelegateReporter.new([ reporter ], :io => io_handle)
      assert_equal io_handle, dr.io
      dr.send :all_reporters
      assert_equal io_handle, reporter.io
    end
  end
end

Version data entries

116 entries across 74 versions & 11 rubygems

Version Path
minitest-reporters-1.7.1 test/unit/minitest/minitest_reporter_plugin_test.rb
minitest-reporters-1.7.0 test/unit/minitest/minitest_reporter_plugin_test.rb
minitest-reporters-1.6.1 test/unit/minitest/minitest_reporter_plugin_test.rb
minitest-reporters-1.6.0 test/unit/minitest/minitest_reporter_plugin_test.rb
op_connect-0.1.2 vendor/bundle/ruby/3.1.0/gems/minitest-reporters-1.5.0/test/unit/minitest/minitest_reporter_plugin_test.rb
minitest-reporters-1.5.0 test/unit/minitest/minitest_reporter_plugin_test.rb
minitest-reporters-1.4.3 test/unit/minitest/minitest_reporter_plugin_test.rb
paynow_sdk-1.1.0 vendor/bundle/ruby/2.7.0/gems/minitest-reporters-1.4.2/test/unit/minitest/minitest_reporter_plugin_test.rb
paynow_sdk-1.1.0 vendor/bundle/ruby/2.7.0/gems/paynow_sdk-1.0.9/vendor/cache/ruby/2.7.0/gems/minitest-reporters-1.4.2/test/unit/minitest/minitest_reporter_plugin_test.rb
paynow_sdk-1.1.0 vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/minitest-reporters-1.4.2/test/unit/minitest/minitest_reporter_plugin_test.rb
paynow_sdk-1.1.0 vendor/bundle/ruby/2.7.0/gems/paynow_sdk-1.0.9/vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/minitest-reporters-1.4.2/test/unit/minitest/minitest_reporter_plugin_test.rb
paynow_sdk-1.1.0 vendor/cache/ruby/2.7.0/gems/minitest-reporters-1.4.2/test/unit/minitest/minitest_reporter_plugin_test.rb
paynow_sdk-1.1.0 vendor/bundle/ruby/2.7.0/gems/paynow_sdk-1.0.9/vendor/bundle/ruby/2.7.0/gems/minitest-reporters-1.4.2/test/unit/minitest/minitest_reporter_plugin_test.rb
paynow_sdk-1.0.9 vendor/bundle/ruby/2.7.0/gems/minitest-reporters-1.4.2/test/unit/minitest/minitest_reporter_plugin_test.rb
paynow_sdk-1.0.9 vendor/cache/ruby/2.7.0/gems/minitest-reporters-1.4.2/test/unit/minitest/minitest_reporter_plugin_test.rb
paynow_sdk-1.0.9 vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/minitest-reporters-1.4.2/test/unit/minitest/minitest_reporter_plugin_test.rb
paynow_sdk-1.0.8 vendor/bundle/ruby/2.7.0/gems/minitest-reporters-1.4.2/test/unit/minitest/minitest_reporter_plugin_test.rb
paynow_sdk-1.0.8 vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/minitest-reporters-1.4.2/test/unit/minitest/minitest_reporter_plugin_test.rb
paynow_sdk-1.0.8 vendor/cache/ruby/2.7.0/gems/minitest-reporters-1.4.2/test/unit/minitest/minitest_reporter_plugin_test.rb
paynow_sdk-1.0.7 vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/minitest-reporters-1.4.2/test/unit/minitest/minitest_reporter_plugin_test.rb