mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/rdoc/test_rdoc_rubygems_hook.rb: suppress deprecation warning
This commit is contained in:
parent
823adea954
commit
1d02832bcf
1 changed files with 4 additions and 2 deletions
|
@ -131,8 +131,10 @@ class TestRDocRubygemsHook < Gem::TestCase
|
|||
end
|
||||
|
||||
def test_generate_default_gem
|
||||
@a.loaded_from =
|
||||
File.join Gem::Specification.default_specifications_dir, 'a.gemspec'
|
||||
Gem::Deprecate.skip_during do
|
||||
@a.loaded_from =
|
||||
File.join Gem::Specification.default_specifications_dir, 'a.gemspec'
|
||||
end
|
||||
|
||||
@hook.generate
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue