Skip to content

Commit

Permalink
For old rubygems
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed May 14, 2021
1 parent 58650c0 commit e4bb38f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/rdoc/test_rdoc_rubygems_hook.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
require 'rdoc/rubygems_hook'

class TestRDocRubygemsHook < Gem::TestCase
unless method_defined?(:assert_path_exist)
alias assert_path_exist assert_path_exists
end
unless method_defined?(:assert_path_not_exist)
alias assert_path_not_exist refute_path_exists
end

def setup
super
Expand Down

0 comments on commit e4bb38f

Please sign in to comment.