Update test args with bundled gems. webrick has been removed that targets

This commit is contained in:
Hiroshi SHIBATA 2024-09-30 19:10:16 +09:00
parent 8cd36a6dab
commit 81d26814be
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -12,8 +12,8 @@ class TestBundlerGem < Gem::TestCase
end
def test_warning
assert Gem::BUNDLED_GEMS.warning?("rss", specs: {})
assert_nil Gem::BUNDLED_GEMS.warning?("rss", specs: {})
assert Gem::BUNDLED_GEMS.warning?("csv", specs: {})
assert_nil Gem::BUNDLED_GEMS.warning?("csv", specs: {})
end
def test_no_warning_warning
@ -22,7 +22,7 @@ class TestBundlerGem < Gem::TestCase
end
def test_warning_libdir
path = File.join(::RbConfig::CONFIG.fetch("rubylibdir"), "rss.rb")
path = File.join(::RbConfig::CONFIG.fetch("rubylibdir"), "csv.rb")
assert Gem::BUNDLED_GEMS.warning?(path, specs: {})
assert_nil Gem::BUNDLED_GEMS.warning?(path, specs: {})
end