method

assert_nothing_raised

Importance_1
v4.1.8 - Show latest stable - 0 notes - Class: ActiveSupport::TestCase
assert_nothing_raised(*args) public

Fails if the block raises an exception.

assert_nothing_raised do
  ...
end
Show source
Register or log in to add new notes.