[ruby/rdoc] Add an alias for test-unit with older versions of RubyGems
https://github.com/ruby/rdoc/commit/b8d68fdd87
This commit is contained in:
parent
04a5ee6a23
commit
77e1b47729
@ -9,6 +9,9 @@ class TestRDocRubygemsHook < Gem::TestCase
|
|||||||
unless method_defined?(:assert_path_not_exist)
|
unless method_defined?(:assert_path_not_exist)
|
||||||
alias assert_path_not_exist refute_path_exists
|
alias assert_path_not_exist refute_path_exists
|
||||||
end
|
end
|
||||||
|
unless method_defined?(:assert_raise)
|
||||||
|
alias assert_raise assert_raises
|
||||||
|
end
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
super
|
super
|
||||||
|
Loading…
x
Reference in New Issue
Block a user