method
report
v7.2.3 -
Show latest stable
- Class:
ActiveSupport::Testing::ErrorReporterAssertions::ErrorCollector
report(error, **kwargs)public
No documentation available.
# File activesupport/lib/active_support/testing/error_reporter_assertions.rb, line 29
def report(error, **kwargs)
report = Report.new(error: error, **kwargs)
ActiveSupport::IsolatedExecutionState[:active_support_error_reporter_assertions]&.each do |reports|
reports << report
end
true
end