Module: Test::Unit::AssertionsWithNotify

Included in:
TestCase
Defined in:
lib/test-unit-ext/notification.rb

Instance Method Summary collapse

Instance Method Details

#notify(message) ⇒ Object



71
72
73
74
# File 'lib/test-unit-ext/notification.rb', line 71

def notify(message)
  notification = Notification.new(name, caller[0, 1], message)
  @_result.add_notification(notification)
end