method
assert_nothing_raised
v5.0.0.1 -
Show latest stable
- Class:
ActiveSupport::TestCase
assert_nothing_raised(*args)public
Assertion that the block should not raise an exception.
Passes if evaluated code in the yielded block raises no exception.
assert_nothing_raised do perform_service(param: 'no_exception') end