Sha256: d1cc98bde1ad1c1a0a70b0695f945565b0bec1651caf4024b651a41e6476b89e

Contents?: true

Size: 258 Bytes

Versions: 3

Compression:

Stored size: 258 Bytes

Contents

module Minitest
  def self.plugin_red_green_init options
    return if RedGreen.disabled
    reporters = self.reporter.reporters.grep Minitest::Reporter
    reporters.each do |reporter|
      reporter.io = RedGreen::Plugin.new options[:io]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
minitest-red_green-0.9.3 lib/minitest/red_green_plugin.rb
minitest-red_green-0.9.2 lib/minitest/red_green_plugin.rb
minitest-red_green-0.9.1 lib/minitest/red_green_plugin.rb