Flowdock
method

assert_nothing_raised

Importance_1
v5.2.3 - Show latest stable - 0 notes - Class: ActiveSupport::Testing::Assertions
assert_nothing_raised() 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
Show source
Register or log in to add new notes.