mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 20:44:20 +00:00
test/rdoc/test_rdoc_rubygems_hook.rb: suppress deprecation warning
This commit is contained in:
parent
823adea954
commit
1d02832bcf
@ -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…
x
Reference in New Issue
Block a user