method
assert_raise
assert_raise(*args)
public
Passes if the block raises one of the given exceptions.
Example:
assert_raise RuntimeError, LoadError do raise 'Boom!!!' end
assert_raise(*args)
public
Passes if the block raises one of the given exceptions.
Example:
assert_raise RuntimeError, LoadError do raise 'Boom!!!' end