# File lib/shoulda/context/assertions.rb, line 87 def safe_assert_block(message = "assert_block failed.", &block) if respond_to?(:assert_block) assert_block message, &block else assert yield, message end end