Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (9 sloc) 0.232 kB
---
assert_nothing_raised: |-
# 'cheat assertions' for the rest
assert_nothing_raised(*args) {|| ...}
Passes if block does not raise an exception.
Example:
assert_nothing_raised do
[1, 2].uniq
end
Jump to Line
Something went wrong with that request. Please try again.