123456789_123456789_123456789_123456789_123456789_

Module: ActiveSupport::Testing::SetupAndTeardown::AroundCallbackSupport

Do not use. This module is for internal use only.
Relationships & Source Files
Defined in: activesupport/lib/active_support/testing/setup_and_teardown.rb

Instance Method Summary

Instance Method Details

#send(name)

[ GitHub ]

  
# File 'activesupport/lib/active_support/testing/setup_and_teardown.rb', line 70

def send(name, ...) # :nodoc:
  if name.start_with?("test_")
    run_callbacks :test do
      capture_exceptions { super }
    end
  else
    super
  end
end