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.3 kb
---
assert_block: |-
# 'cheat assertions' for the rest
assert_block(message="assert_block failed.") {|| ...}
The assertion upon which all other assertions are based. Passes if the block yields true.
Example:
assert_block "Couldn't do the thing" do
do_the_thing
end
Jump to Line
Something went wrong with that request. Please try again.