method

assert_throws

assert_throws(sym, msg = nil)
public

Fails unless the block throws sym