Update test args with bundled gems. webrick has been removed that targets
This commit is contained in:
parent
8cd36a6dab
commit
81d26814be
@ -12,8 +12,8 @@ class TestBundlerGem < Gem::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_warning
|
def test_warning
|
||||||
assert Gem::BUNDLED_GEMS.warning?("rss", specs: {})
|
assert Gem::BUNDLED_GEMS.warning?("csv", specs: {})
|
||||||
assert_nil Gem::BUNDLED_GEMS.warning?("rss", specs: {})
|
assert_nil Gem::BUNDLED_GEMS.warning?("csv", specs: {})
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_no_warning_warning
|
def test_no_warning_warning
|
||||||
@ -22,7 +22,7 @@ class TestBundlerGem < Gem::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_warning_libdir
|
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 Gem::BUNDLED_GEMS.warning?(path, specs: {})
|
||||||
assert_nil Gem::BUNDLED_GEMS.warning?(path, specs: {})
|
assert_nil Gem::BUNDLED_GEMS.warning?(path, specs: {})
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user