# File test/unit/assertions.rb, line 27 def assert_block(message="") # :yields: _wrap_assertion { if (! yield) raise AssertionFailedError.new(message.to_s) end } end