edge badge
Methods
A
Included Modules
Constants
Assertion = Minitest::Assertion
 
Instance Public methods
assert_nothing_raised(*args)

Fails if the block raises an exception.

assert_nothing_raised do
  ...
end
# File activesupport/lib/active_support/test_case.rb, line 52
def assert_nothing_raised(*args)
  yield
end