diff options
Diffstat (limited to 'test/rdoc')
-rw-r--r-- | test/rdoc/test_rdoc_rubygems_hook.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/rdoc/test_rdoc_rubygems_hook.rb b/test/rdoc/test_rdoc_rubygems_hook.rb index 4e4451bd8c..28a6f71031 100644 --- a/test/rdoc/test_rdoc_rubygems_hook.rb +++ b/test/rdoc/test_rdoc_rubygems_hook.rb @@ -9,6 +9,9 @@ class TestRDocRubygemsHook < Gem::TestCase unless method_defined?(:assert_path_not_exist) alias assert_path_not_exist refute_path_exists end + unless method_defined?(:assert_raise) + alias assert_raise assert_raises + end def setup super |