method
assert_no_error_reported
rails latest stable - Class:
ActiveSupport::Testing::ErrorReporterAssertions
assert_no_error_reported(&block)public
Assertion that the block should not cause an exception to be reported to Rails.error.
Passes if evaluated code in the yielded block reports no exception.
assert_no_error_reported do perform_service(param: 'no_exception') end