Module: Test::Unit::Notify

Defined in:
lib/abt/test_collector.rb

Defined Under Namespace

Classes: Notifier

Class Method Summary collapse

Class Method Details

.setup_auto_runner(auto_runner) ⇒ Object

:nodoc:



16
17
18
19
20
21
# File 'lib/abt/test_collector.rb', line 16

def setup_auto_runner(auto_runner) # :nodoc:
  auto_runner.listeners.reject! do |listener|
    listener.is_a?(Notify::Notifier)
  end
  auto_runner.listeners << Notifier.new
end