Flowdock
method

assert_nothing_raised

Importance_1
v5.0.0.1 - Show latest stable - 0 notes - 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
Show source
Register or log in to add new notes.