method

assert_throws

Importance_1
v2_1_10 - Show latest stable - 0 notes - Class: Assertions
assert_throws(sym, msg = nil) public

Fails unless the block throws sym

Show source
Register or log in to add new notes.