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
|
end
|
||||||
|
|
||||||
def test_generate_default_gem
|
def test_generate_default_gem
|
||||||
|
Gem::Deprecate.skip_during do
|
||||||
@a.loaded_from =
|
@a.loaded_from =
|
||||||
File.join Gem::Specification.default_specifications_dir, 'a.gemspec'
|
File.join Gem::Specification.default_specifications_dir, 'a.gemspec'
|
||||||
|
end
|
||||||
|
|
||||||
@hook.generate
|
@hook.generate
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue