mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Update test args with bundled gems. webrick has been removed that targets
This commit is contained in:
parent
8cd36a6dab
commit
81d26814be
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue