diff options
-rw-r--r-- | lib/mini/test.rb | 2 | ||||
-rw-r--r-- | lib/test/unit/assertions.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/mini/test.rb b/lib/mini/test.rb index e8b12179e7..88cc9deafc 100644 --- a/lib/mini/test.rb +++ b/lib/mini/test.rb @@ -129,7 +129,7 @@ module Mini assert o1.__send__(op, o2), msg end - def assert_raise *exp + def assert_raises *exp msg = String === exp.last ? exp.pop : nil should_raise = false begin diff --git a/lib/test/unit/assertions.rb b/lib/test/unit/assertions.rb index c032adafaa..6c29b78096 100644 --- a/lib/test/unit/assertions.rb +++ b/lib/test/unit/assertions.rb @@ -34,7 +34,7 @@ end module Test::Unit module Assertions # deprecations tu_deprecate :assert_nothing_thrown, :assert_nothing_raised # 2009-06-01 - tu_deprecate :assert_raises, :assert_raise # 2010-06-01 + tu_deprecate :assert_raise, :assert_raises # 2010-06-01 tu_deprecate :assert_not_equal, :refute_equal # 2009-06-01 tu_deprecate :assert_no_match, :refute_match # 2009-06-01 tu_deprecate :assert_not_nil, :refute_nil # 2009-06-01 |