Adapter for adapting FlexMock to the Test::Unit framework.
# File lib/flexmock/test_unit_integration.rb, line 50 def assert_block(msg, &block) unless yield msg = msg.call if msg.is_a?(Proc) super(msg) { false } end rescue assertion_failed_error => ex ex.message.sub!(/Expected block to return true value./,'') raise ex end
Generated with the Darkfish Rdoc Generator 2.