diff --git a/test/lib/test/unit/assertions.rb b/test/lib/test/unit/assertions.rb index c9d148d55a..9277fbc6b6 100644 --- a/test/lib/test/unit/assertions.rb +++ b/test/lib/test/unit/assertions.rb @@ -835,12 +835,13 @@ eom end end - def all_assertions(msg = nil) + def assert_all_assertions(msg = nil) all = AllFailures.new yield all ensure assert(all.pass?, message(msg) {all.message.chomp(".")}) end + alias all_assertions assert_all_assertions def build_message(head, template=nil, *arguments) #:nodoc: template &&= template.chomp